I am learning MVC from the web using Visual Studio 2013.
After completing my project and deploying it to the host through “publishing,” it worked perfectly (locally).
Although now the application issues an authentication form at login (after publication). locally it does not. I want to completely remove authentication, since the site (with all its pages) is open.
I apologize for the stupid question, but I searched and could not find clues about my problem for sure, perhaps due to complete ignorance on this side of the structure.
I tried to manually track things, I have a "startup.cs" that contains:
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
}
}
This directs me to the file "Startup.Auth", which automatically has:
public void ConfigureAuth(IAppBuilder app)
{
app.UseCookieAuthentication(new CookieAuthenticationOptions
{
AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
LoginPath = new PathString("/Account/Login")
});
app.UseExternalSignInCookie(DefaultAuthenticationTypes.ExternalCookie);
...
Startup.cs, .
, , " Windows", " " DISABLED. "Startup.cs".
" ".
, , : .