|
Hi,
Anybody having idea about video calling and text chat, Kindly share your ideas. Am using mod verto freeswitch webRTC concept.
Regards
Sri
|
|
|
|
|
Try a Google search, you may be pleasantly surprised.
|
|
|
|
|
How to link windows form module within Web application?
If it is possible using Web Services, than how i can use web service?
Pls anyone help me its urgent
|
|
|
|
|
|
Ok
|
|
|
|
|
using MVC for visual studio 2013, suddenly realized that there is some limitation when it comes to how controls are rendered.
there appears to be fierce debate on a design view and why its needed, but if there is a tool that does design view, where is it?
I would tend to use webforms and put everything in absolute position because it would never be resized and never used on mobile.
now? it has to be modern and mobile ready. mvc is new, i had not needed to know CSS in depth. Trying to place controls on a simple Create page? horizontal layout, labels on the left then input boxes on the right of that with mostly empty space, the labels word wrap. it would be nice to see where its defining the margins, it cannot be that hard to make some tool that at least gives a snapshot with design grid lines.
the original comments i am reading are from 2010 and 2011 where some say the design view is almost here? now its 2015, and others say its just too hard to make this kind of tool. or why do you need a designer anyway? whats wrong with counting pixels?
is there some good reason why the designer or some snapshot is not needed? guessing at where the controls will land is not a waste of time?
im grateful for any guidance on this
|
|
|
|
|
I've never used design view...when it doesn't crash VS it is slow and just doesn't work. I just have my browsers open and view the site in them as I make changes. It is hard to get working design pages because you can't emulate all browsers.
|
|
|
|
|
when i try with the browser? placing components is just a guess. make a change, refresh it moves a bit more, bit more then all the way to the edge of the wrong side. take back the value and it jumps to the wrong place.
hours trying to use the browser. i made a webform to use the design view, created the control, set it to absolute, etc copied the html into the MVC view page im working on? and it lands where ever it wants. inline style position absolute, size this/that. page does not place it where it seems it should go.
not trying to be negative but unless im missing something obvious its frustrating and seems to be arbitrary, dont know how others can put controls that way.
all i am asking for is some way to snapshot what the coordinates cause on the result. viewing on the browser? full 15 seconds until it displays, just to chase a control on the screen takes ALOT of time
|
|
|
|
|
The proper effective use of css is a skill, no doubt about it, a skill that takes a long time to master, or even get good at. These days most companies employ people just to do css so they can focus on that and ensure it works on all browsers. Luckily this means I haven't had to touch css is about 10 years
Your main problem might be the fact that you're thinking about web pages like windows forms, where things are positioned. Instead you need to think about html like a giant game of Tetris where the elements "flow", and find their place like throwing objects into a bucket. You need to think about margins and padding as a way of keeping things distant, with floats dictating if everything stacks on top of each other like a tower, or if they can fall beside each other.
|
|
|
|
|
thanks thats a good explanation. i used this in years past and didnt have to worry about mobile browsers or resizing much; fitting and floating... well i still wish to have a snapshot of what the browser will "think" about the resulting program like that mode in Word where you turn on the hidden characters.
i read about Microsoft folks saying in 2010 or 2011 how they will have a design view soon; i just cannot fathom why its so hard. i do think about things from win forms or labview styling. but your comment helped
|
|
|
|
|
Dear you have any video/coding which display how user can edit his respective records after his login ???????
|
|
|
|
|
More than a million... Try asking this question to Google.
You can simply search for the code based on your program, language and frameworks. Entity framework, SQL Server, file-based systems, they all have different mechanism for altering the data. You can search for the one you are using right now.
To allow the user to only update his records, you use an ID that tells the system which record to update and which records to leave as they are.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Hi all, in my database I have 5 tables called Books, Genres, Authors, BookAuthor, and BookGenre. Both BookAuthor and BookGenre are bridge tables are bridge tables so when I create Entities for my tables using Entity Framework entities for the both of them were not created.
Entities for Books, Genres, and Authors tables were created. I also have a stored proc called _RetreiveBookDetails that joins all 5 tables together which returns the author's firstname, author's lastname, book's title, and book's genre if the required parameters are supplied by the user.
During the Entity Creation process I selected all of the tables used in the join and also selected the stored proc. The Complex Type which was automatically created is called RetreiveBookDetails_Result.
I've tested my stored proc in SSMS and I know it works. The problem is I can not get any data when I execute the stored proc using DBContext and supplying my stored proc with the necessary parameters. Below is my code, please take a look to see where I may have made my mistakes, thanks in advance.
public static List<_RetreiveBookDetails_Result> GetBooks(BookAuthorObj ba)
{
List<_RetreiveBookDetails_Result> bookList = new List<_RetreiveBookDetails_Result>();
using (var baContext = new BookAuthorDBContext())
{
bookList = baContext._RetreiveBookDetails(ba.FirstName,ba.LastName,ba.Genre, ba.Title).ToList();
}
return bookList;
}
|
|
|
|
|
Hi all, I have a database with four tables and they have the following schemas
dbo.Authors dbo.BookAuthor dbo.Books
|------------------------| |------------------| |-------------------------|
|AuthorID not null int PK| |ID not null int PK| | BooKID not null int PK |
| | | | | |
|FirstName nvarchar(30) | | BookID int FK | | Title nvarchar(150) |
| | | | | |
|LastName nvarchar(30) | | AuthorID int FK | | Genre nvarchar(50) |
| | | | | |
|Contact nvarchar(50) | |------------------| |-------------------------|
|------------------------|
dbo.BookGenre
|------------------|
|ID not null int PK|
| |
|BookID int FK |
| |
|GenreID int FK |
|------------------|
If I join all of my tables together in a stored proc called sp_GetBookDetails which returns data from the columns Title, Genre, FirstName, and LastName, how do I map this stored proc to Entities?
The problem I ran into was that when I tried to map my stored proc to Entities in the Add Function Import popup, I can only choose a single table instead of all four tables that were involved in my joins.
How do I make use of my stored proc in this situation? Thanks in advance for your reply.
modified 29-May-15 15:05pm.
|
|
|
|
|
|
How can I handle Null and apply empty string if Null?
<%# IIf(Boolean.Parse(Eval("IsReferralRequired").ToString.Trim()), "Yes", "No")%>
|
|
|
|
|
|
Perhaps, simply by checking the value to be null or not.
if(variable == null) {
variable = String.Empty;
}
You can also set the String.Empty as the default value (value at the declaration stage), and then inside the script-based area you can alter the values.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
here is what I come up with however its replacing DBNull with 'No'. Instead I need to do an empty string. Please help
<%# IIf(IsDBNull(DataBinder.Eval(Container.DataItem, "IsReferralRequired")) OrElse String.IsNullOrEmpty(DataBinder.Eval(Container.DataItem, "IsReferralRequired")) OrElse (Convert.ToBoolean(Eval("IsReferralRequired")) = False), "No", "Yes")%>
|
|
|
|
|
Hi all,
I have an ASP.Net application developed in .Net 4.0. The web app uses around 30 .Net libraries (all custom built within our org.). These were developed about 6 years ago. We have deployed this app recently for a client under a Win 2008 R2 server. The application and all associated .dlls are compiled under 32 bit settings and we have configured the App pool to run under 32 bit too.
The client started complaining of frequent out-of-memory scenarios. The application uses Session extensively to store data. We suggested increasing the server RAM from 4 gigs to 8 gigs. Despite this upgrade, the issue continues to occur.
While I was researching online, I came across the design constraint that w3wp is limited to use only 2GB of addressable memory when running in 32 bit mode. (Article link)
I understand that I have to compile the application and all associated libraries to run under 64 bit.
Meanwhile, I was wondering if increasing the worker process count will help me resolve this issue without modifying the code base. The server has a 8-core processor, hence I could increase the worker processes to 8. I could also enable processor affinity to ensure one request is handled by one wp alone, thereby taking care of session data availability.
Has anyone done something similar? Any guidance is appreciated.
|
|
|
|
|
X86 has a 3.4 gig limit om memory
X64 can go past 4 gigs.
If your using lots of sessions, then the IIS web server is consuming the memory.
So if your session timeout is set to lets say 72 hours, all those sessions will store for 72 hours and then clear.
One thing you can do is set sessions to the sql server, I think its called inproc, to reduce memory consumption.
But you really need to run task manager, and see what's consuming the memory first, is it the ?
AppPool - your app.
IIS Server - probably the sessions, or the IIS settings for your app.
[edit]
Perhaps the OS is consuming the memory?
That's why we run our web servers on the server core with partial GUI.
Our web servers consume about 2 to 3 gigs each, for the whole thing, and we run on X64.
We have 16 gigs in them, and don't even come close to consuming all the RAM.
So we have 3 web servers on each physical server, and we use about 10 gigs total.
[edit2]
We compile on any CPU, so it creates a 32 / 64 dll for X86 and X64
I think back in the day, the X64 only was for Intel Titanium CPU's
modified 27-May-15 15:09pm.
|
|
|
|
|
We decided to run our application as a 64-bit app. We had two options to accomplish this:
Option 1: Compile all component projects targeting 64bit processor. Replace all 3rd party .dlls with their 64 bit versions. Host the application under 64 bit app pool in IIS.
Option 2: Compile all component projects targeting 'Any CPU'. Set the 'LargeAddressAware' option as a post build task. Replace all 3rd party .dlls with their 64 bit versions. Host the application under 64 bit app pool in IIS.
The application renders correctly when we try option 1. Whereas, in option 2, the application has rendering issues. Some of the label controls are not visible in the browser and few buttons appear empty with no text in them. Any idea what could cause this wierd problem?
|
|
|
|
|
You have to look at the HTML that is generated in the browser. So like in Firefox, you right click and inspect element.
Now you see what's missing in the element, and play around with the CSS to make it visible, or perhaps the element is missing altogether now.
So like in the button that's missing text, that should be a input element and the value is the text.
As for fixing the code, I don't know how your generating elements. If your using webforms, or MVC Razor and so forth.
I had that trouble back in 2007 when I went Any CPU, but fixed it. It was just a matter of better coding practices and proper HTML. So the fix was running the page though a HTML Validator and fixing the errors. Most of the errors were element rules, this element can't be inside that element.
On the server side, I was using webforms and server side controls, so I dumped the use of properties like visible, and replace that with CSS display none; to conform more to actual HTML and CSS.
You would have to post the code for the missing element, and show the HTML output from the browser.
[edit]
What kind of server are you running this on?, What CPU? OS
modified 2-Jun-15 12:30pm.
|
|
|
|
|
Message Closed
modified 18-Jun-15 21:06pm.
|
|
|
|
|
|