How can I get valueprovider in asp.net core 1.0?
In MVC5, I will get value provider in action of controller like this:public class ConfigurationsController : Controller { public ActionResult Index() { var valueProvider = this.ValueProvider; var...
View ArticleHow can i host my web app without IIS installed ?
Hi ,I have developed a web application which has a number of web pages . I have a connection to a localdb which retrieves data and displayes on the web page.The development was done using Visual...
View ArticleEdit and Continue
I enabled Edit and Continue and disabled Intellitrace, and the feature seems to work on razor pages. However, editing code in a controller while debugging has no effect -- I am forced to restart the...
View Articlehow to make a request to my .NET Core App from UWP, with Microsoft Account...
I am able to retrieve user's token in UWP with code like this string MicrosoftClientID = {ClientID}; string MicrosoftCallbackURL = "urn:ietf:wg:oauth:2.0:oob"; string scope =...
View Articleis asp.net CORE just as cheap to host as hosting a java web application
APOLOGIES IF THIS IS IN THE WRONG FORUMI am trying to decide between asp.net core and java(spring framework). I am creating a social media website which i intend will hold a lot of users. Because I am...
View ArticleAdd Validation Method to string property of classes
Hi every bodyI want to add some validation methods to string property of my classes for example countryclass.code.validateNumber() ,cityclass.code.validateNumber().As you see validateNumber() one time...
View Articleasp.net core tag helpers doesn't work angular material md-checkbox
Hi AllI'm using asp.net core and tag helpers to create a login page. The standard html controls are working just fine like the example below<label asp-for="Username"></label><input...
View ArticleHow to save(post) list
Hi,I have Offer class, OfferItems class and Item class and tables in database. Offer can have many items.I want to edit and save Offer with attributes(email, shipping etc) and edit and save list of...
View ArticleVisual Studio 2015 - Bower always uses force-latest version.
Bower seems to be pulling down the wrong version. I believe this is due to the integration always adding--force-latest to Bower.cmd. Below are the Steps to Reproduce as well as the console output...
View ArticleBower Package Angular Material Not Available
Hi Currently, I'm using Visual Studio 2015 for ASP.NET Core, but I can't find Angular Material Package in Bower, what should I do? Thanks in advance.
View ArticleAutoComplete => ComboBox / DropDownList - Any tutorial for latest ASP.NET...
Hello,Anyone have tutorial how to create "AutoComplete => ComboBox / DropDownList" what will worked in latest version asp.net core ?
View ArticleCors not working in IIS but works in Kestrel
I'm using both Kestrel and IIS (as a standalone exe).Cors is working just fine in Kestrel but not working in IIS.It's setup to allow all:services.AddCors(options => { options.DefaultPolicyName =...
View ArticleReference to .NET Core Class Library project not working
Windows 10, Visual Studio 2015 Update 3I have a .NET Core Class Library project, ClassLibrary1, set up to target both netstandard1.6 and net461. I have a second .NET 4.6.1 Console Application,...
View ArticleVisual Studio and Asp.Net Core
What will happen with the Visual Studio's reverse engineer (model from database) wizard, will they bring it back or leave us without it? I'm still not getting comfort how to work with existing database...
View ArticleSwitching authentication methods at startup
I got a kinda odd request that has crossed my desk. We recently upgraded an mvc app to .net core - I mean like we upgraded it last week. I'm still trying to understand the changes that have taken...
View ArticleHigh memory consumption of ASP.NET Core vs previous ASP.NET
I’ve been searching for answers concerning this questions for quite some time.Our team has been developing an ASP.NET Core web application since the first releases of ASP.NET Core / ASP.NET vNext....
View ArticleCalling connection string from web.config in asp.net core
How to call connection string from web.config in *.cs file in asp.net core
View ArticleWhat to do with results from 'dotnet publish'?
Hello, I have a website host and domain. I ran 'dotnet publish' on my Visual Studio project, and now I have a folder. How do I make my website use this folder? If I simply FTP this folder onto my...
View ArticleHow to use Web Grid in asp.net core 1.0
Hi, I want to use web grid in asp.net core 1.0, please give me a solution how to use it.Regards,Prabhu
View ArticleThere is no implicit reference conversion from...
hi i am getting this errror any one help me please public void ConfigureServices(IServiceCollection services) {// Add framework services. services.AddMvc(); var connection =...
View Article