Should i create 2 separate projects for a web service app ?
I want to make a web service + a site to consume it . should i make two completely separate projects : one web service asp.net core app and another static site to consume it or keep both in the same...
View ArticleHow can I share session among subdomains in ASP.NET Core?
I have a website which has subdomains such as ali.sarahah.com but if a user logs in from www.sarahah.com then goes to ali.sarahah.com the session is not saved. After searching I added the following in...
View ArticleCORE Performance Problem
I use a low cost hosting service that specializes in Windows projects and in my first attempt to host an ASP.NET CORE project, I tried a sub directory in my existing domain. I got it running but it was...
View ArticleFilter properties based on request HTTP method
What's the best way to customize model properties that will be bound depending on the request method used?For example in the following modelpublic class User { public int Id {get; set;} public string...
View ArticleWhy did Visual Studio bower not install fonts under lib?
In Visual Studio 2015 on an MVC project I am trying to use the bower package manager over Nuget for the first time.I am using the MvcMovies tutorial for an example at:...
View Articleconnection string remote sql database not working
Hi there,We're trying to connect with our database in our server, but we're doing something wrong. The connection with the local database works fine, but when we edit the connection string with...
View ArticleUpdating nuget dependencies
My asp.net core app that I prefer to maintain in VS Code on Mac OS has a number of packages that could use some upgrading. As far as I can find, there's no tooling to see what can be updated or a...
View ArticleHow to Create Base Project template for asp.net core in visual studio 2015...
hiHow to Create Base Project template for asp.net core in visual studio 2015 and use it for another my Project?for example Create a empty new project for asp.net core web application and nextI addall...
View ArticleASP.NET Core with Angular 2
I am trying to run the template "ASP.NET Core Angular 2 Starter Application (.NET Core)" found in http://blog.stevensanderson.com/2016/10/04/angular2-template-for-visual-studio, but I get the following...
View ArticleHow to send the set-Cookie value with the url
Hi,I'm able to retrieve the set-cookie value from the HttpResponseMessage header which is coming from the api. Now, I want to send this set-cookie value with the another url to access the methods...
View ArticleVS2015 Upgrade 3 With ASP.NEt Core Installed - Issues
Greetings, Trying to use VS2015 with ASP.Net Core and MVC for current project. Finding I get the following. After working a few various forum answers on the internet I have been unable to resolve....
View ArticleEntity Framework, create CRUD forms in Column order as in existing SQL Table...
Within Visual Studio 2015 Professional a c#, Dotnet Core web app(.core).. added entity frame work and imported the sql tablesAll Created and when I run the webapp CRUD functions all work as...
View ArticleHow secure is action parameters?
If i have an action like this :public IActionResult ReceiveForm(int id, string city) { }I assume that there are security measures built into mvc to prevent inappropriate (e.g. binary data) input to...
View ArticleBegineers Question on...
This may be a silly question but I don't get it. Maybe I am bringing bad habits in from other coding I have done.Take a simple set up like the below in the _layout.cshtml file <li><a...
View ArticleMicrosoft Interop COM object Error while hosting in IIS 6.0
I'am having the following error while hosting an Asp.Net web application in IIS 6.0---------Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due...
View ArticleWhat version Visual Studio and Runtime is best to Use for .Net Core
Greetings, I started an internet project using MVC5. I am now getting familiar with and trying out .Net Core features in VS205 Update 3. At this point we are trying to determine whether...
View Articleuser-secret issues
I'm having trouble getting this to work. I'm using Visual Studio 2017 the latest RC (updated this week).I'm trying to follow the items in this link:https://forums.asp.net/p/2092700/6042219.aspxThe...
View ArticleAsp.net core 1.1.0 and Mailkit
Hi,I'm using mailkit to send mail forms from my web site.But I have problems with authentication - getting response from gmail server error 500. using (var client = new SmtpClient()) {...
View Articlewhat cms systems are available for .net core
What cms systems are available to use on a pure asp.net core(mvc 6) web site. Right now i am learning umbraco and know my choices are limited. I also seen orchard2. Are there others and what is the...
View ArticleAsp.Core with Angular 2 Deployment have to many files
Hello,i used Asp.Core as backend und Angular 2 as frontend for my app. This is my first webapp. now i want to publish the app. i deploy the app to folder and now i want to load the data to my wwwroot...
View Article