Strategies for reducing ViewState size in asp.net
I use ‘n’ number of server controls in my page. Now I am into performance tuning and I’ve noticed that my ViewState is too large and it makes my page slow.
I use ‘n’ number of server controls in my page. Now I am into performance tuning and I’ve noticed that my ViewState is too large and it makes my page slow.
Normally when you update an object in linq2sql you get the object from a datacontext and use the same datacontext to save the object, right?
I am trying to implement a web application with Caching features.The reason I need caching is for is that we have an application which lets users access online courses. Now, Once the user logs in I validate him against our database. Once validated I want to store the user ID and course ID in cache for 20 mins so that if he requests it again I can retrieve values from cache foe both user id and course ID and if valid provide him access
For some reasons I can’t use Session variables in this application so they are not an option.
This seems like a common question but search is not returning anything.
I am using Moq for unit testing and I would like to test for a view’s attribute.
In this case the Authorize attribute.
When we try to publish our ASP.NET application with Precompile during publishing enabled, it will fail because we reference a project in the AssemblyInfo.cs file.
Button.UseSubmitBehavior property is used to gets or sets a value indicating whether the Button control uses the client browser’s submit mechanism or the ASP.NET postback mechanism.
I have set up hangfire successfully for my ASP.NET project, i.e. the 11 Hangfire tables are created in my database. I tried the following command inside the Application_Start() of my project’s Global.asax:
There is a built in function from the Microsoft.VisualBasic assembly. I can use it in VB like this:
First of all i want to say that I’m still a beginner in ASP.NET development. I think this is a simple question but I cant find an answer anywhere. The following is my problem: