I am curious about Startup class in ASP.NET MVC 5, when I remove the assembly attribute from the Startup class, the code inside Startup class is still being executed.
using Microsoft.Owin;
using Owin;
using SignalRChat;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
//[assembly: OwinStartup(typeof(SignalRChat.Startup))]
namespace SignalRChat
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
app.MapSignalR();
}
}
}
Anybody can tell me why this happened?
Thanks