asp (13,869)


c# - Adding scripting functionality to.NET applications

c# - Adding scripting functionality to.NET applications

I have a little game written in C#. It uses a database as back-end. It's a trading card game,and I wanted to implement the function of the cards as a script. What I mean is that I essentially have an…


Checklist for IIS 6/ASP.NET Windows Authentication?

I've been having trouble getting my ASP.NET application to automatically log users into the Intranet site I'm building. No matter the googling or the experimentation I applied, there is always a logi…


How do I connect to a database and loop over a recordset in C#?

What's the simplest way to connect and query a database for a set of records in C#?…



c# - ViewState invalid only in Safari

One of the sites I maintain relies heavily on use of ViewState(it isn't my code). However, on certain pages where the ViewState is extra-bloated, Safari throws a "Validation of viewstate MAC failed"…


Catching SQL Injection and other Malicious Web Requests

I am looking for a tool that can detect malicious requests(such as obvious SQL injection gets or posts) and will immediately ban the IP address of the requester/add to a blacklist. I am aware that i…


asp.net - Bandwith throttling in IIS 6 by IP Address

I am writing an application that downloads large files in the background. All clients are logged in locally, or through a VPN. When they are logged in locally, I do not want to throttle downloads. Ho…


ASP.NET built in user profile vs. old stile user class/tables

I am looking for guidance regarding the best practice around the use of the Profile feature in ASP.NET. How do you decide what should be kept in the built-in user Profile, or if you should create you…


Triple Quotes? How do I delimit a databound Javascript string parameter in ASP.NET?

How do I delimit a Javascript databound string parameter in an anchor OnClick event? I have an anchor tag in an ASP.NET Repeater control. The OnClick event of the anchor contains a call to a Javas…


c# - CSV File Imports in.Net

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, argument…


c# - How to RedirectToAction in ASP.NET MVC without losing request data

Using ASP.NET MVC there are situations(such as form submission) that may require a RedirectToAction.One such situation is when you encounter validation errors after a form submission and need to redir…




net mvc how core example web from with not and