Browser Link not working with Web Application from ASP.NET 5 Templates
I have Visual Studio Community 2015 with Update 1 installed in my Windows 8.1 machine. When I try to create and run new "Project" (File->New->Project->MVC) under ASP.NET 4.5.2 Templates I find...
View ArticleHow can I convert Forms Authentication to windows (Active Directory)...
I already have a MVC 5 web application that uses sql server authentication. I am only using AspNetUser and AspNetRole table from EntityFramework and rest are custom tables. Important custom table is...
View ArticleInclude in project missing?
Hi, I am using Asp.net 5 with Visual studio 2015 (Latest Version). I installed angular 2 in node_modules folder. I want to include in project bec they are some hidden files in it. I cannot find...
View ArticleAngular 2 and ASP.NET 5
Is this the right place for a discussion about Angular 2 and ASP.NET 5? I'm using ASP.NET 5 to write Angular 2 web applications with Azure successfully. The problem I'm having is that there are a lot...
View Articlesubstitute for asp.net web form server side controls in mvc 5
I am rather new to ASP.NET MVC5. I know server side controls are not working directly in MVC, but there will be some way by which we will get similar controls in MVC5 for rapid development. Can you...
View ArticleHow to create reports in mvc5?
How can we generate reports in mvc5? does it support SSRS reports? or any other tool is best fitted for report generation in mvc5? what is the best practice?
View ArticleHow to get instance using IServiceCollection
I have added a class in ConfigureServices(IServiceCollection services) as services.AddInstance<IConfiguration>(Configuration);I want to get the instance in my HostConfiguration.cs class, I can...
View ArticleHttpVerbs in 5.0
Using System.Web.Mvc, I was able to use HttpVerbs, but since upgrading Mvc package to 6.0+, it uses Microsoft.AspNet.Mvc, I can no longer find HttpVerbs. Is there information anywhere that I can read...
View ArticleHow to integrate Asp.Net 5.0 with Active Directory?
I'm building intranet application where I need to use Active Directory to authenticate users. In previous version I would use bearer tokens for that:public static void ConfigureAuth(IAppBuilder app) {...
View ArticleDependencyResolver
I have a library with class, DraftEngine.cs, and within DraftEngine.cs, I have a RegisterDependencies. Updating Microsoft.AspNet.Mvc to the latest package, 6.0, DependencyResolver does not exist, as it...
View ArticleRenderPartial??!?
Hi, I'm so keen, so desperately, desperately keen for the MVCnext (what is it called?) to work and to work well. Issues like the one I'm currently facing are driving me utterly crazy.First - let me...
View ArticleUnable to get key from IDictionary values in Match function
public bool Match(HttpContext httpContext, IRouter route, string routeKey, IDictionary<string, object> values, RouteDirection routeDirection) { string pathName = ""; RouteValueDictionary dict =...
View ArticleASP.NET5 .net core (dnxcore50) LDAP
dnx451 can use System.DirectoryServices connect to LDAP server,the function of connect LDAPserver are supported in net core (dnxcore50) ?in net core (dnxcore50) ,how to connect to LDAP server?
View ArticleASP.NET 5 RC1 Update 1 with .net 4.6.1
HiIs it a known issue that ASP.net 5 is not working with .et 4.6.1 ? I just create a new project form the template and change the framework to .net 461 and it doesn't start anymoreso the frameworks...
View ArticleDefaultModelBinder Replacement?
Trying to find the replacement. Dug through the github asp project under ModelBinding branch of Mvc but couldn't find anything. Any information would be greatly appreciated.
View Articleshow table rows in textboxes in asp.net c#
string query = "SELECT * FROM Teachers"; SqlCommand sql = new SqlCommand(query, con); var cmd = new SqlCommand(query, con); SqlDataAdapter da = new SqlDataAdapter(cmd); DataTable dt = new DataTable();...
View ArticleUnable to load application or execute command...
Trying to run simple webapi application on docker (deployed to Ubuntu Linux) i face strange exception when attempting to run container: Unable to load application or execute command...
View ArticleBest approach to export data to PDF
I want to export data to pdf using application that is being built in ASP .Net 5 MVC 6, earlier I have used OpenXML for exporting data to excel.So, I just want to know what would be the best approach...
View ArticleASP.NET 5 targeting dnx451/dnx46 Performance
With ASP.NET 5 everything is suppose to be opt in based, the app loads opted libraries only which is amazing. Older ASP.NET functionality was encapsulated in System.Web namespace, which had everything...
View ArticleTrying to build a .NET 5 Application on Mac - dnu restore command not found
Hi,I followed the steps at the end of this video: https://channel9.msdn.com/Events/Visual-Studio/Connect-event-2015/100 on how to code, run and build a .NET 5 Application on a Mac.I've used Yeoman to...
View Article