WebForms or MVC?
hi. I searched in the Internet but I didn't take my answer. for example I understood mvc is very good for UnitTesting and webforms has server controls that result in faster building and lower control...
View ArticleSystem.Web.Security.FormsAuthentication - SetAuthCookie() and SignOut()...
Just looking for confirmation on an interesting behavior of using the complementary methods contained in System.Web.Security:SetAuthCookie() and SignOut() methodsOne sets a cookie, the other...
View ArticleIs it possible to start/stop a service?
Hi folks, i would like to execute a batch file on the server from a web page that is simplyProcess svcProcess = System.Diagnostics.Process.Start(@"C:\ScheduledTasks\StartSVC.bat");with the batch file...
View ArticleUser management & roles
Hi Guys,Any idea or helpful links and tutorials for implementing user management with roles using external database like Sql Server.Thanks in advance..
View ArticleProblem with site membership administration
While testing the SqlMerbershipprovider on the remote server I found out that everything is working fine. I can register, login and so on. When I connect from my local computer to the remote server...
View Articlegiven key was not present in the dictionary
I inherited a project that gives users the above error while trying to change their password. I stepped through and found the trouble spot, but the problem is, the values generated seem right so I...
View ArticleManual authenticate and set user roles temporarily for session
Hi,Im not sure if this is possible. Im creating an application where the user table is stored outside the database, therefore i wont need to use the built-in asp.net user tables. However i would...
View ArticleCreate Custom Login System Tutorial?
Hello, I recently discovered that you can create your own custom login system while still using FormsAuthentication. Does anyone know a good tutorial for making one?
View ArticleUserProfile & Membership Tables in SimpleMembershipProvider
The schema is as it describes, simple. The only thing is... I kind of have one underlying problem with the schema. The UserProfile & Membership table both share the same primary key. I see a...
View ArticleSecurity risk of Mvc4Futures
I have been wary of using NuGet packages since it seems like just another thing I have to worry about in reguards to security holes and updates. This was a large issue with Ruby on Rails gems and I'm...
View ArticleAntiXSS and Request Validation
Hi,I've recently upgraded my web application from ASP .NET MVC 3 to ASP .NET 4.5. I see that ASP.NET 4.5 now includes the AntiXSS library, and it can be included by modifying the encoderType attribute...
View ArticleHow to Get Password from Membership user
Im trying to get password and trying some ways but I dont know too much about thisstring member = Membership.GetUserNameByEmail(txtmail.Text); string pas = Membership.Provider.GetPassword(member,...
View Articlelogin controls problem - not working on hosted server - Format of the...
i've recently hosted my first website on a windows shared server. all of my stored procedures seem to work and the data seems to be ok except...the membership stuff. i can't seem to create new users,...
View ArticleForms authentication and User Roles
I am completely lost on what I need to do to create a secure login. Can someone give me a step by step for what I'm trying to do?Heres the breakdown....The standard user needs to login to access...
View ArticleLoginURL querystring - Weird behavior on buffer overflow
Hi. I'm remediating security vulnerability in one of our website and I'm going nuts trying to fix a buffer overflow which results in a runtime error.The vulnerability testing application sends the...
View ArticleWebSecurity and LDAP membership
Hi I new in asp net web Pages programming, i need know as deploy webauthentication with WebSecurityandthe provider is LDAP,can it be done? orshould wedo differently?thanks in advancedJuan Pablo
View ArticleASP.NET 4.5 Web Forms Application - Profiles / Extra User Data
Creating an 'ASP.NET 4.5 Web Forms Application' from within VS2012 gives you a framework which is already able to register/authenticate users.I only changed the "DefaultConnection" connection string in...
View ArticleProfile works from code behind, not from App_Code
I have a 4.5 website, not project, were I'm saving data to the membership profile. I had problems getting to works at the beginning, but once I was able to install Universal Providers via NuGet I got...
View Articlehow to send mail through outlook in asp.net
<div class="_kso fsm direction_ltr _55r0" data-jsid="message">I am not able to send mail through outlook , am getting error like</div> <div class="_kso fsm direction_ltr _55r0"...
View ArticleASP.NET MVC Forms authentication and Remoting
Hi,We have a solid infrastructure that basically includes a Web front end communicating with a Remoting setup, the remoting setup is fairly standard however we do have a mechanism in place where we use...
View Article