how does Request.QueryString work?

The HttpRequest class represents the request made to the server and has various properties associated with it, such as QueryString. The ASP.NET run-time parses a request to the server and populates this information for you. Read HttpRequest Properties for a list of all the potential properties that get populated on you behalf by ASP.NET. Note: not all properties will be … Read more

ASP.NET 5 MVC: unable to connect to web server ‘IIS Express’

What I’m doing: Opening Visual Studio Community 2015 File -> New -> Project Under Visual C#: Web -> ASP.NET Web Application Web Application And press f5 for the popup error “unable to connect to web server ‘IIS Express’.“ Deleting applicationhost.config, located in Documents\IISExpress\config, doesn’t change the error message. (There’s also an IISExpress folder in program files and program files (x86).) Something I … Read more

What are .ashx files in an ASP.NET application?

In short, a file ASHX is an ASPX file, minus all plumbing ASP.NET webform. I am using ASHX to generate PDF files on the fly, and download them. Similarly, I use them to generate thumbnails on the fly and download them. This could work very well with a blank ASPX, but ASHX files are much … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)