Questions tagged [asp.net-core-1.0]

Use this tag for questions specifically related to ASP.NET Core 1.0, in addition to using the 'ASP.NET Core' tag. ASP.NET Core 1.0 was the first release of ASP.NET Core and was originally intended to be ASP.NET 5.

Originally planned to be ASP.NET 5, it was re-imagined as a fresh start during development and instead became a clean a clean break from the System.Web namespace that classic ASP.NET apps use. This is the first release of that work.

See the tag asp.net-core for more information or Microsoft Docs for even more details

880 questions
-1
votes
2 answers

asp.net core C# how can I pass value in a repository pattern

I am new to C# and asp.net core and I am trying to create a simple repository pattern and pass a string value but I'm getting the error An unhandled exception occurred while processing the request. InvalidOperationException: Unable to resolve…
Rome Torres
  • 933
  • 2
  • 10
  • 21
-1
votes
1 answer

Unable to find a default constructor to use for type Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.DynamicViewData

I am getting this error when trying to Deserialize the string from the redis cache using Newtonsoft.Json. where HeaderTopViewComponent is model class of one of my view component "" like: …
-1
votes
1 answer

ViewModel binding without SelectList in ASP.NET MVC

In my ASP.NET Core application, I have an ASP.NET MVC View which displays a list of products. (I guess this applies to other versions of MVC as well). When I select an item from this list and submit the page, I want the selected product ID to be…
SirG
  • 301
  • 3
  • 13
-1
votes
1 answer

Publishing Asp.Net Core MVC Web Apps as Deployment Package or for IIS

i am having trouble in publishing my ASP.Net Core MVC Web App to IIS. when publishing the app via File System - Publish Method, and hooking the output folder to IIS, i get this error below when publishing the app via Web Deployment Package -…
TheQuestioner
  • 682
  • 8
  • 23
-1
votes
1 answer

Error in installing .NET Core 1.0.0 - VS 2015 Tooling Preview 2

I installed Visual Studio 2015 Update 3 and tried to install .NET Core 1.0.0 - VS 2015 Tooling Preview 2 in order to start developments on .Net core. however setup failed with following error message. [ I tried with SKIP_VSU_CHECK=1 as well. But…
Rama
  • 161
  • 3
  • 16
-1
votes
1 answer

Migrate .NET Framework 4 project to netcoreapp1.0

I have created .net core web application whose framework is netcoreapp1.0. In newly created web application, I want to add reference of another project whose .NET Framework version is 4. To fix this what I am doing is, I have created a new .net…
-1
votes
2 answers

What is the alternate way for "Request" class/object in .NET core?

I am migrating an existing ASP.NET Web API 2 project to ASP.NET Core. While migrating I am unable to find this.Request object. Can anyone help me solve out this issue?
-1
votes
2 answers

Insert with primary key fails

I am writing a web app utilizing Asp.Net Core RC2 and EF Core. When I try to insert a new row into the SQLite database which should have a primary key with auto increments, all attempts to perform this insert result in an error: An exception of…
-1
votes
3 answers

Tutorials for Asp.net core 1.0 and .net core 1.0

How do I get started with Asp.net core 1.0 with .net core 1.0. Please suggest some tutorials. I want to develop and deploy on linux.
VivekDev
  • 7,143
  • 11
  • 58
  • 107
-2
votes
1 answer

What is the way of getting all implementations (classes) of some interface of current assembly in .net core?

I want to get all implementations (classes) of some interface of current assembly and want to create instance of that classes. How I can do that? In mvc5 framework it work like this way var type = typeof(IMyInterface); var types =…
Anik Saha
  • 3,521
  • 1
  • 19
  • 34
1 2 3
58
59