Setting up SSL page only on login page
I want to set up SSL page for only login page. How can I do it? I a referring this article:
I want to set up SSL page for only login page. How can I do it? I a referring this article:
If one is checking a user’s roles to determine whether they may access a page, is it safe to put this check only inside an if (!Page.IsPostBack) { ... }? Could it be possible for the client to cause Page.IsPostBack == true independently of ASP.net; that is, the client POST’s to the page and sets the right form fields? If that were possible, then I suppose best practice would be to check security on every page load, not just when Page.IsPostBack == false.
I’m trying to reference some common config settings between a Windows Service and an ASP.NET MVC website. I am doing this by using the file attribute on appSettings in either the App.config or Web.config (respectively). The file (named common.config) that is being referenced is a linked file in a separate project in the same solution. That common.config is set to Content with Copy Always in both projects.
The following is a generic sample SOAP request for .NET web service I’m supposed to invoke from my java web app:
I was wondering how I could get the columns of a database table and store each of them in a string or string array. I have the following code but I believe it does not work. I’m using the default table that is given in asp.net. I’ve been able to write to this table no problem but I cannot figure out how to select from it and save the values retrieved. here is what I have in my code behind
So, I want to create some Silverlight charts from some data on my ASP.NET web page. The way to do this, either using Visifire (my current thing) or the upcoming Silverlight charting, seems to be to create some XAML, or at least some Silverlight objects (like in this Visifire sample), and then stuff them into the page somehow.
When a user access a website and enters their credentials which are stored in our database, we when create an authentication.
I have to decide about a new big business application we will develop in the coming years, the question is if we should start using MVC 3 or web forms.
Can anyone explain why you cannot insert a null object into the ASP.NET cache?
In the DB i have Role and User entities with one to many relationship.