ASP.NET Web API 2 – StreamContent is extremely slow
We’ve ported a project from WCF to Web API (SelfHost) and during the process we noticed a huge slowdown when serving out a web application. Now 40-50 seconds vs 3 seconds previously.
We’ve ported a project from WCF to Web API (SelfHost) and during the process we noticed a huge slowdown when serving out a web application. Now 40-50 seconds vs 3 seconds previously.
I’m trying to write a small method to loop through and find a GridView Column by its Index, since it can change position based on what might be visible.
I’m writing a basic app to learn ASP.NET 5. One area I find very confusing is configuration. Prior to ASP.NET 5, I could do the following:
I use a System.Runtime.Caching.MemoryCache to hold items which never expire. However, at times I need the ability to clear the entire cache. How do I do that?
We have an asp.net c# program that reads a sheet from an Excel file and writes it out in a new sheet (also adding one column if data come from a Sql Server table).
I am trying to implement a custom authorization requirement following a tutorial. It seems like
context.Resource no longer contains AuthorizationFilterContext and as a result:
we will find Assembly version from Assembly.cs in every library.
I’ve made a custom control that inherits from a Literal control. When I try and use my control on a page a parsing error is thrown. I’ve added this to my web.config
I have an ASP.NET3.5 (C#) ASPX page that is internationalized in 10 different languages.
I’m using iTextSharp to print a panel into PDF on button click. After clicking on the button, the PDF is downloading to the client’s computer. Instead of this I need the PDF to be opened in a browser instead of downloading. From the browser the user will be able to download the PDF to his PC.