What is the namespace for SelectList in ASP.Net 5?
I am putting together a Web application using asp.net 5, mvc 6 and am unable to locate the namespace/package for SelectList. From my reading I found that in previous versions (ASP.Net 4 and earlier)...
View Articleupload multiple file using the Dropzonejs and Asp .net core
Hi :I am using Asp .net Core to upload multiple files using the Dropzonejs ,it works fine without using the Dropzonejs , but I don't know why it is not work with it. var uploads =...
View ArticleLearning EF6 .NET Core, one-to-many and many-to-many relationships
What is the best way to learn .NET Core with EF 7?For weeks now, I have been going through the tutorials on this site and each has limitations, so I seem to hit a brick wall when I try to add...
View ArticleAn Error Occured While Processing Your Request
I am working on my first asp.net core web application. I can get everything to work in IISEXPRESS, but when I deploy to my local machines IIS I recieve "an error occured while processing your...
View ArticlePassing Parameters from a View to a Controller in Asp.Net Core
I'm trying to pass multiple parameters from html in a view to a controller.The controller definition is as follows:public async Task<IActionResult> Index(string selectVisitor = "0" , string...
View ArticleNo executable found matching command "dotnet-bundle"
I am trying to publish a .NET Core 1.0 web application (.NET Framework) and getting the error "No executable found matching command "dotnet-bundle"". I know the problem is with "prepublish": [ "bower...
View ArticleAuthorizationHandler redirection on Fail
Is there a way to do a page redirect if an AuthorizationHandler provides a Fail()? I'd like to have my own Unauthorized page to show up on such cases, instead of only getting back a 401.
View ArticleBower command line vs ui
Hi,I'm using bower as client package manager for my web app, but i'm having problem.using UI some packages are lacking (es datatables.net), using the command line the same packages are available but...
View ArticleServer Error in '/' Application
Can anyone help me to resolve this issue.I developed asp web application and used SQL database for back end. it was working fine with QA server.Now when I changed the SQL server with production one, I...
View ArticleHow to set ConnectionString using IP address as a Server Name
Hi,How to convert this ConnectionString in appsetting.json<add name="FireFighterDbContext" connectionString="Server=192.168.151.100;Database=FireFighterDb;User ID=thisisme;Password=p@ssw0rd"...
View ArticleRewite URL web asp.net on hosting linux ??
I have a web asp.net, i want rewite URL web asp.net on hosting linux. help me.
View ArticleAntiForgeryValidation attribute seems to conflict with...
Hi,My app is based on the SDK: 1.0.0-preview2-003121 and uses a combination of MVC, Web API and AngularJs (v1)When making API calls, I want to return a 401 unauthorized when the cookie based session...
View ArticleThe SMTP server has unexpectedly disconnected
when sending emailFrom Visual sutudio Works fine, and from local machine IIs Works fine tooBut in the VPS Windows server server IIS, Gives this errorSmtpProtocolException: The SMTP server has...
View ArticleAsp.net Core and OpenSSL running on Mac OS
I have an Asp.NET Core web site which is making a make a HTTP POST request to an SSL endpoint that requires a SSL certificate. It works fine when running in a Windows 10 environment, but on the Mac...
View ArticleDependency-injection for ASP.Net core web api
Hi All,There is any specialised dependency-injection technique for core web api, mvc. which framework good for core development?Thanks,
View ArticleWhat should I do to browse my https://localhost:44357 to be called with i'ts...
I'm trying to browse my application using it's computer name or IP address, to make it can be browse from other computer on the same network (Same LAN or intranet).https://localhost:44357 ok...
View ArticleMySQL + ef core migrations
Hi,I have found on this forum a few unofficial connectors to mysql database. I try use: https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql . I have problems with migrations(code...
View ArticleHow to register a single Controller type rather than all Controllers in...
Hi,I can register all controllers in a separate assembly by registering the assembly via builder.AddApplicationPart(assembly) and calling AddControllersAsServices.However, How do I register just one...
View ArticleDeploying a WCF Service in ASP.NET Core (.Net Framework) App
We have some existing WCF services. We have built some REST endpoints on ASP .NET Core (.NET Framework) I want to run them out of the same IIS app How do?
View ArticleTrying to uninstall VS 2015 Tooling Preview 2
Can't seem to find the file to download so I can uninstall. I need the 2.0.0 version not the newest one they just released, thank you!
View Article