VS 2017 RC2 - Issues with updating packages
Win 10 / VS 2017 RC2 / SQL 2016 Dev - Literally a newly built PC with no other software installed.2 Issues:After updating all of the nuget packages to reference ASP.NET Core V 1.1. When I ran the...
View ArticleBest Practice for Global Variables?
In past versions of ASP.NET there were different techniques for establishing global variables (aka module level variables) that could be easily retrieved from any code in the project.With ASP.NET Core,...
View ArticleI made a Second Edit View, but got a SQL Exception Error. Why?
I really don't understand why this kind of error happens.. As usual, By Scaffolding model(In my case, "person" model), Visual Studio generate CRUD View... and I made some variation to that view. Now,...
View Articleerror on sending fax using FAXCOMEXLib on iis
hi. i am programming sending fax using FAXCOMEXLib. when run it using visual studio, sending fax work correctly. but when i publish source and want send fax using iis, show this error:Object reference...
View ArticleHow can i Inject a collection in .Net core MVC constructor injection
I have a contract(interface) called INotifier and implmented it in two classes SMSNotifier and EmailNotifier. Now i want to inject these two implementations as an array of dependencies to INotifier[]....
View Articlehow to show 1 gridview and 1 button in default 6.aspx after i click a button...
<div>Good Morning EveryOne !I want to ask one question, related to button click event , which is very simple but I am forgetting today. Please help me remember that. I simply want in page load...
View Article.NET core MVC Constructor injection with builtin DI container
I have a contract(interface) called INotifier and implmented it in two classes SMSNotifier and EmailNotifier. Now i want to inject these two implementations as an array of dependencies to INotifier[]....
View ArticleHow read multiple csv text files and convert into json ?
Hi ALLI am working on .net core and i want to reall multiple csv text files and covert into json string .How can i achieve this into .net core ?Thanks.
View ArticleCore version for new project?
How is the ASP.NET core experience now? Is it good enough for a new project? Or would you still choose V4?
View ArticleDataAnnotations with TypeScript/Angular 2
We have a number of Models with validation enforced via the DataAnnotation tags. Example: [Required(AllowEmptyStrings = false, ErrorMessage = "Username is required")] public string UserNameWe...
View ArticleChoosing a runtime for a ASP.NET Core app.
I am using VS 2017 (latest RC) and .NET core 1.1 and trying to create an ASP.NET Core application. When I select the ASP.NET Core Web Application (.NET Core) project template of Visual Studio, I have a...
View ArticleHow to log http POST data to IIS log in asp.net core
Hi,When I was using the old asp.net, I was be able to append the http POST data to IIS log by usingHttpResponse.AppendToLog() method. But in asp.net core this method is no longer available. so how I...
View Articlejquery autocomplete is not working in ASP.NET CORE
I use this code in my cshtml<script src="~/lib/jquery/dist/jquery.js"></script><link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"><script...
View Articlehosting mvc application on local iis
Hi!I just switched to MVC6 for my new project and I ran into a problem. In previous versions there was an option to run/debug application on local IIS server (creating new virtual directory under...
View ArticleDead View with CompilationFailedException
We have an MVC application using the .net framework 4.6.1 running on IIS on Windows Server 2008R2. We are experiencing a problem that has been occurring since we started developing this application...
View ArticleCreating ASP.NET MVC Core app on Mac OSx with MS SQL Server db on Azure
I'd like to know whether anyone has successfully created ASP.NET MVC Core App with Azure hosted SQL Server as backend? I'm trying to follow/mix up following...
View ArticleHow to call WEB API Post method using HttpClient
Hi,I'm trying to call the following WEB Api POST method from a .net console application but can't seem to get it to work.Could someone please provide some code for calling this POST method using...
View ArticleChange framework to 4.6.2
I generated a simple WebAPI using the aspnet yoeman generator and wanted to change the framework to run on 4.6.1 instead of netcoreapp1.0. I removed the Microsoft.NETCore.App dependency.dotnet restore...
View Articlepublish asp.net core mvc on local iis on windows 10
hii want to publish my web on local iis 10 on windows 10 with visual studio 2015 .i published it on folder:"C:\inetpub\wwwroot" and when i use url: "localhost:5000" in my browser all of things is oky...
View Article