UserManager problem
I upgraded to VS 2017 and am having all sorts of problems, this time with the User Manager in my project when I try to seed the database. See below. I can't believe something so basic would have...
View ArticleASP.NET Web pages on ASP.NET Core
Are you able to create a ASP.NET Web Pages website on ASP.Net Core or are you tide only to MVC?
View ArticleAlternative for BeginCollectionItem?
I'm using 'BeginCollectionItem" for dynamic fieldset which rendering a sequence of items that should later be model bound to a single collection.Just wonder is there any other alternative to implement...
View ArticleReceived error message "Package 'Microsoft.EntityFrameworkCore.Tools.DotNet...
I am trying to follow this tutorial on creating an ASP.NET Core MVC and Entity Framework Core app, and I tried installing the NuGet package Microsoft.EntityFrameworkCore.Tools.DotNet, as the topic...
View ArticleRESTFUL API's
I am trying to learn Restful api's using Asp.net core can anyone kindly guide me .Thank you :)
View ArticleHow to retrieve data of nested class instance from parent class instance in...
I am trying to modeling a class at school, and I end up with something like this:public class Class { public int ID { get; set; } public int Grade { get; set; } public Teacher ClassTeacher { get; set;...
View Articleinstall .net core sdk on centos 7.2
Hi All,Can we install .net core SDK on CentOS 7.2 ? As per link they support only 7.1 https://www.microsoft.com/net/core#linuxcentos Regards,Sidh
View ArticleDoubts about the access from the WAN on site asp.net core ...
Hello to all, Icreated a websitewithasp.net1.1coreMVCI havemade all the necessaryconfigurations, i can connecttothe home pageonly ifI map"127.0.0.1"or "public IP"withvirtual sitename in the hosts...
View ArticleWeb api is removed in asp.net core
i heard that now we can do http service based apps using mvc so from now on we do not need web api template in asp.net core. is it true?if it is true.....web api was service and has no UI but mvc app...
View ArticleSpecial characters in c#,Asp.net
Original file name in .csv file -:Stockinger Jörg 71105 (U).pdfAfter reading file name in c#-:Stockinger J�rg 71105 (U).pdfhow can i read original file path without change in special chars in...
View ArticleVisual Studio 2015 Web Deploy And Entity Framework Failing To Create Trigger
I'm using Web Deploy to publish my website to a Azure Web Application with a SQL Database. I'm testing with MSSQL 2016 on my development machine. I'm using the code first model. I created a model to...
View ArticleAsp.net Core Data Annotations failing to decorated multiples of the same...
I'm using a partial view to create a security question and answer view using a model. Besides the issue of naming each one with a index number. That is a whole seperate issue all together. I want 3...
View ArticleModel Attributes Not Working
I have a view model that looks like the following:LandingViewModel.cspublic class LandingViewModel : IValidatableObject { [Required(ErrorMessage = "Required")] [Display(Name = "State")] public string...
View ArticleRenderPartial / ViewDataDictionary
I am re-writing a website in VS 2017 that was originally written in VS 2010. The command I used originally to display my visitor count in the footer was:-@Html.RenderPartial( "/Counter/Counter.ascx",...
View ArticleArgumentException: The 'ClientId' option must be provided
Attempting to do 3rd party authentication using Facebook. This used to work under .Net Core 1.0, but I just upgraded to VS2017 and .Net Core 1.1.Complete error is:ArgumentException: The 'ClientId'...
View ArticleCookie Middleware without Core Identity
I'm following the directions in this article: https://docs.asp.net/en/latest/security/authentication/cookie.html I get "No authentication handler is configured to handle the scheme...
View ArticleHangfire Implementation with MVC Asp.net core
Hi,I have a requirement that implementing the hangfire dashboard inside my application itself.I have a link "Dashboard" in my home page clicking on that Hangfire dashboard should open as the part of my...
View ArticleGeneric Web handler ashx in .net core
Hi in mvc5 i have a NotificationHandler.ashx handler and i make something if (context.Request.HttpMethod == "POST") { i get a json context and do something.... }and the url is...
View ArticleVS community 2017 and Loading depandances
Hello,I'm following a online pluralsight course but they are using an older version (Visual Studio 2015 update 3), and it taking about added extra dependences to the global.json or Project.json file...
View ArticleConsume wcf service from asp.net core Credentials not found
I have added a service reference with Visual studio WCF connected service.When i try to consume i receive the exception that the credentials are not found.I´ve been able to consume this service in...
View Article