.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

An ASP.NET 4 Web Application Using the SqlTableProfileProvider - Doable or a Time Sink?

Posted By: Ken Cox [MVP]     Posted Date: August 29, 2010    Points: 0   Category :ASP.Net
Have hundreds of ASP.NET developers been wasting dozens of hours each on something that can't be made to work in ASP.NET? This is too weird! I've scoured the Web in vain looking for an example where someone has implemented the Microsoft SqlTableProfileProvider in an ASP.NET Web application . (The SqlTableProfileProvider  lets you store Profile data in a normal way rather than as difficult-to-manipulate blob data.) There are plenty of implementations using the Web site model, including fellow...(read more)

View Complete Post

More Related Resource Links

.NET 4 Web Application Startup Time

I was chatting with Jonathan Hawkins and some of the folks on the ASP.NET team about performance and Jonathan mentioned the startup time for large ASP.NET applications is improved on .NET 4. There are some improvements in the CLR and in ASP.NET itself that helped. If you have a giant app, you should do some tests.

CLR Inside Out: Improving Application Startup Time


Visual Studio is a wonderful development environment, whose IntelliSense®, integrated debugging, online help, and code snippets help boost your performance as a developer. But just because you're writing code fast doesn't mean you're writing fast code.

Claudio Caldato

MSDN Magazine February 2006

How to Keep conntion pool and application pool for certain time?


In my current system MOSS and windows 2003, I do not know where to see connection pool live time ? and Application pool live time?

How to keep live these for certain number of hours? Where can I change? Is it possible to keep minimum number of connection pool live always?


Thanks for help in advance.


How to keep my Workflow alive only during the time my client application is running ?

Hi, I want to my workflow do some action when server  lose connection with client and at the same time client get exceptions about it. It is possible to implement some session mechanism or something like that with workflow service ? Regards Marcin

Why my application always complain request is time out??

Below is the configuration file, i didn`t do any modification on it. and i got a very weird situation. first my application run in this way, it was a back end library, every few second, it will send a web request to a central server for information update. but when i test it, after my back end library was launch for a while, it always complain timeout. and cannot send any message to the server. so what is wrong with my application?????  is there anything to do with the configuration file? <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <bindings> <wsHttpBinding> <binding name="WSHttpBinding_IEAVService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> <readerQuotas maxDepth="32" maxStringConten

Client Application Services - Role service cache time out bug

Hi All, For people using Client Application Services with WPF, be aware of this bug. You can configure the "cache time out" for roles to be fetched again from the service. (In the visual studio dialog, Properties -> Services -> Advanced) This means the roles are cached on the client (in a file). If the application asks for roles again, they are not fetched again for "cache time out" time. When you set this value, it goes into your App.config, transformed into seconds. So if you choose 1 minute, the App.config has: cacheTimeout="60".   However, when using the ClientRoleProvider (for instance to do something like clientRoleProvider.GetRolesForUser("SomeUser")), this cacheTimeOut is interpreted in Minutes, not seconds! To prove my point, check ClientRoleProvider.Initialize method:   string temp = config["cacheTimeout"]; if (!string.IsNullOrEmpty(temp)) _CacheTimeout = int.Parse(temp, CultureInfo.InvariantCulture);   Later on, in ClientRoleProvider.GetRolesFromDBUser (what's in a name?), you see: _CacheExpiryDate = cd.RolesCachedDateUtc.AddMinutes(_CacheTimeout);   Testing also shows this behavior. So be aware, and always put the value in minutes in your App.Config!   Regards, Koen

Application time out Error after installing SQL Server 2008 R2 64 bit + CU3


Hi all,

webapplications  are  suffering  after installing SQL Server 2008 R2 64 bit  in my mechine.

Did i have do any thjing more make the connectons(validation faster)  or SQL Server 2008 R2 behaves like that..

any idea or suggestions are appreciated.


Thanks in advacne




Accessing my Web Application's database with MSSMS at the same time.



I wish to acces my database using MSSMS at the same time that I am running my web application. When I tried to access my database with MSSMS I get the following error:

Failed to retrieve data for this request (Microsoft.SqlServer. Management.SDk.Sfc)

Additional Information:

Unable to open the physical file "C:\inetpub\wwwroot\myapp\App_Data\aspnetdb.mdf".
Operationg system error 32: "32(The process cannot access the file because it is being used by another process)". (Microsoft SQL Server, Error:5120).

What can I do to being able to view my database with MSSMS at the same time?

Thanks for your help,


Web Application Load time issue


Dear All,

I have a web application that is using a single page. This page has 2 multiviews and each one of them has around 10 views. Each of the views contain a grid and a form. My main problem is that when Switching views my application takes too much time (Around 5 seconds). I am using the three tier model though, that is; I have a Busingess Logic Layer and a Data Access Layer and I am using Object Data sources.

I am so confused about the main reason for the huge load time my website requires. In addition, I am not using any images within my views which might need high load time.

Please help me out in this



How to make the application install 1 time only



I have a need to create an applicaiton that can be installed 1 time only be a user. The user may or may not be and administrator.

How can I do this (without registry alteration if possible)?

Thanks much.


How to make the windows forms application install only 1 time and be used only 1 time only



I have a need to create an applicaiton that can be installed 1 time only be a user. The application can also be used only 1 time. (on a given PC)

The user may or may not be and administrator.

How can I do this (without registry alteration if possible)?

Thanks much.


idle logout time for sharepoint application

Hi All,

What will be the idle logout time for any sharepoint application how to set that.

Thanks Inadvance,

Calculate Web Application Idle Time


Hi all,

I have a requirement to calculate the Web application idle time. 

Say the user doesnt use the web application for 15 minutes, then a message needs to be displayed to the user.

How can this be done.

Application pool WSS 3.0 unresponsive from time to time - ONETUTIL problem?



One of our application stops responding sometimes. After recycle of app pool all works again. There are no waring/errors information in eventviewer, app pool consuming around 150MB and there are a lot of free resources on server however during last "hang on" I ran Debug Diagnostic tool on PID responsible for this app pool here is what I got:


Detected possible blocking or leaked critical section at ONETUTIL!Vifstream::Cin+84 owned by thread 10 in w3wp.exe__APP_NEW__PID__1104__Date__10_23_2010__Time_03_42_14PM__522__Manual Dump.dmp

Impact of this lock

5.88% of threads blocked

(Threads 30 31

Bing Map Apps: Building a Real-Time Transit Application Using the Bing Map App SDK


Learn how to use the free Bing Map App SDK as we walk you through the creation of a real-time transit application for bus routes in King County and show you how to submit apps to the Bing Map site.

Luan Nguyen

MSDN Magazine October 2010

Memory usage of WPF application continuously increases with time


Hi All,

I have a WPF desktop application. Its memory usage continues to increase (with 4 - 8 K chunks per second) with the time, even if it is sitting idle and doing nothing. How can I control this ?

Below is a abstract list of what is in my application:


  1. We have used images in designing the layout of application windows.
  2. Have used styles in buttons & text boxes (borders, mouse over for buttons, focus gain / lost for text boxes etc.)
  3. Make requests to web services, serialize / deserialize xml for making requests & binding data to lists.
But once my application starts & shows up, I leave it idle, its memory usage increases with time and never stops. When I minimize the application to task bar, its memory usage falls down and jumps up again when I restore it.

Can any one please help me on how to control this continuous increase in memory usage ?

Thanks & regards,


how to develop forms (desktop database) application in shortest time ?



I am new to WinForms and want to develop a small database application. Initially I am not much keep on performance. Please advice me some way (may be automaticed) to develop in very short time.

I am doing the following things.

1. Login

2. Adding/ editing/ deleting records in db.

3. Adding/ editing / deleting sales from grid.

4. some reports.

Thanks for guiding & helping me.


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend