how safe is it to use session variables – asp.net / c#
So basically i’m wondering how safe is my way of using Session variables.
So basically i’m wondering how safe is my way of using Session variables.
How does one dynamically generate a TextBox control at run-time as a result of a button click? For each button click, I would like to create a TextBox control along with corresponding dynamic labels. I would like to do this within ASP.NET using the C# language.
I am using .NET 3.5 and need to convert the below select new result into a DataTable. Is there something built in for this or anyone know of a method that can do this?
Hi can somebody tell me how to import all of my contacts from gmail, yahoo, hotmail and so on.. and i want to send an invitation for all my contacts?
I have a many-to-many relationship defined like so:
I’m using the ASP.net cache in a web project, and I’m writing a “status” page for it which shows the items in the cache, and as many statistics about the cache as I can find. Is there any way that I can get the total size (in bytes) of the cached data? The size of each item would be even better. I want to display this on a web page, so I don’t think I can use a performance counter.
I want to do a query with linq (list of objects) and I really don’t know how to do it, I can do the group and the sum but can’t select rest of the fields.
Example:
I’m struggling with how to set up authentication in my web service.
The service is build with the ASP.NET Core web api.
It’s easy to set a user agent on an HttpRequest, but often I want to use a single HttpClient and use the same user agent every time, rather than having to set it on each request.
I have an ASP.Net single-file web service (a .ashx file containing an IHttpHandler implementation) which needs to be able to return errors as responses with 500 Internal Server Error status codes. This is a relatively straightforward thing to do in PHP: