there is a problem on Microsoft Edge
Hi,I have a test project asp.net core. I tested it on Edge / Internet Explorer / Chrome and Firefox. I've just got a error on EDGE. I recognized that if Request.Path has turkish character, I get this...
View ArticleSoft-delete, Cannot update identity column?
I Have the following entity, I am trying to apply the concept of soft delete by adding a shadow property ("IsDeleted") when I run my controller I get the following error,fail:...
View ArticleMultiLanguage Application
Hello Guys,I am building MultiLanguage Application in Asp.net core but I am not able to change the text to another format.here is my code please let me know what wrong.statup.cs public void...
View ArticleRazor pages and expressions, correct way to use the syntax
Hello,i'm a total noob with .NET Core and i'm currently working on a website entirely built with .NET CORE 2 and Razor pages. I've been following some tutorials and I love the framework, especially...
View ArticleAn assembly specified in the application dependencies manifest
Hello,I have question about ASW SDK i have wrote small console application that creates CVS file and uploads it to S3. Everything works very well on my development environment without any...
View Articlemap multiple entities to same table in ef core 2.0
HI, I would like to map multiple entities to same table in EF core , can this be done? public class Person { public int PersonId { get; set; } public string FirstName { get; set; } public string...
View ArticleWhere do I store email settings?
Finally making the switch from forms to razor pages... I used to store my email settings in the web.config <mailSettings><smtp deliveryMethod="Network" from="xxxx@gmail.com"><network...
View ArticleFile upload to asp.net core server using httpclient
I'm gonna answer my own question, very hard to find how to do file upload using httpclient from a user app, and there is one important detail that I found that may unstuck someone. here is my client...
View Articleajax with return Json(new { success = false}) return black page with...
Hi I trying to return alert using json success but when file is not image and click save, it go into if (!allowedExtensions.Contains(checkextension)) but it return blank page with...
View ArticleCode First - few tables in the db
Hi,Is it possible for me to generate a Code First Approach to a selected few database tables instead of all tables?Also, can how do I do Code First on a database view?Thanks,tinac99
View ArticleWEbapi Authorize( DELETE ) returns 405 (MethodNotAllowed) rather than 403...
I assume that this is (perhaps) simply the way webapi works, but I am trying to grok it.If I remove the "Authorization" on the delete method it works fine on the APIhowever adding any kind of...
View Articleissue on .net core globalization
Hi ~ , I had some issue on .net core globalization.I had been read the article by the following link.https://docs.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-2.1but I...
View ArticleInstall asp.net core as Windows service
Hello, Can I Deploy asp.net core App as Windows service ? Please I need sample how to do that. Thanks,
View ArticleNet core Signalr video chat
Hi everyone!I have some students and I want to make video chat with net core and Signalr. All students is join room and dicuss about video. Notice the video is load from mp4 file and when this video...
View ArticleASp.NET Core 2.0 Change Password not working
Hi,The following code does not signed-in the user after a successful change password.TEST 1ApplicationUser user = await userManager.FindByIdAsync(userId);user.PasswordHash =...
View ArticleWeb.config file in ASPNET.Core
Just started my first MVC6 web app. Where does the Web.config file go?
View ArticleHow to log exception error to a sql server table in ASP.NET Core MVC
Is there any built in function in .net core that is able to log exception error in a tableThanks
View ArticleWhat's the equivalent of Session_Start in Global.asax file ASP MVC in CORE MVC
I am new to Core MVC.What's the equivalent of Session_Start in Global.asax file ASP.Net MVC in CORE MVC?I am looking for sample code.Thanks
View ArticleShould service layer methods expect instance or id
for example if I'd like to update something should I create a method like:Update(SomeEntity entity)in my service layer, so in my controller I have 1 call to get the entity and 2nd call to update it?or...
View Articleajax with return Json(new { success = false}) return black page with...
Hi I trying to return alert using json success but when file is not image and click save, it go into if (!allowedExtensions.Contains(checkextension)) but it return blank page with...
View Article