Quantcast
Channel: ASP.NET Core
Browsing all 9386 articles
Browse latest View live

Binding to string in a controller

I am trying to force the Controller to bind a simple type from the request bodySo I post through jquery ajax var params = {source,"example"}$.ajax({ type: "POST", url: wsurl, contentType:...

View Article


Custom Minor version in Build

I have a C# Program which generates an exe file.Wondering how can I increment just the Minor version everytime when it's built ? with my current setup only build and revision are generating. For...

View Article


Unit Testing .Net Core Applications

Any recommended approach to write unit tests for .Net Core Apps ? . Known approach is like take .Net class library and then set testRunner property to unit testing framework we use for unit testing ....

View Article

What changes are planned for asp.net core tooling ?

i remember i read somewhere that Microsoft is planning to change asp.net tooling and project.json file ( if i remember correctly) . shall someone tell us where we can read about that. i am interested...

View Article

What frameworks Asp.net Core is using internally for Dependency Injection and...

What frameworks is Asp.net Core is using internally for Dependency Injection and Logging?

View Article


Is Owin used somewhere internally in .NET core? Is It supported as of today...

Is Owin used somewhere internally in .NET core? Is It supported as of today or will come in future or got deprecated?

View Article

Currency formatting not working

The data type and/or display format data annotations are not having any effect at the UI.  The code in the model is: [DataType(dataType:DataType.Currency)] [DisplayFormat(DataFormatString ="{0:C0}")]...

View Article

How to Paging the Index Page implemented by ViewModel

I don't know hot to paging the ViewModel based Index page1. ViewModel in Index Page  I created ViewModel because Index Page needs several tables.using System; using System.Collections.Generic; using...

View Article


Change 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 Article


Localization mvc forms - Labels (.CORE)

Using Visual Studio 2015, Added enttity framework and create forms for CRUD operations again various tablesthese all work as expectedRequire to add localization for English, French, GermanCould someone...

View Article

Entity 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 Article

Alternative for BeginCollectionItem?

I'm using 'BeginCollectionItem" for dynamic fieldset which rendering a sequence of items that should later be model bound to a single collection.Just wonder is there any other alternative to implement...

View Article

File Exist method in .Net Core

what is the File Exist method in .Net Core?

View Article


How Get logged in users list (online users) in Asp.Net Core 1 ?

No-one have answare me ...How Get logged in users list (online users) in Asp.Net Core 1 ?Before with asp.net mvc 4.x, I used Session events, and now ?

View Article

Image may be NSFW.
Clik here to view.

The name does not exists in the current context

Most questions are related with old version of ASP.NET MVC. My question is related to latest .NET Corebuild on Framework 4.6. I created a console application and standard class library. I installed all...

View Article


Setting British locale to get dates into my database correctly

Hey gang - I used to know how to do this, but like so much with core I'm trying to re-learn quickly and it's not going too well on this occasion. Situation: Developing in the UK on a Mac, set to...

View Article

Javascript compiler error

Hi, I am working with Visual Studio 2015 update 3, and ASP.NET Core MVC v1.1.0Whenever I have a compiler error blocking the build, I get a long list of Javascript errors in the Error List as well. It...

View Article


.Net Core Web API with EF Core

am brand new to both .Net Core and to Entity Framework. I am trying to learn both technologies, by following some tutorial, but I am struggling. My Web API project has two controllers - the wizard...

View Article

VS 2017 ASP.NET CORE WEB Application - adding reference to external class...

I need to over come below error. I am trying to explain steps.I have created new blank solution in VS 2017.Later I have added a new Asp.net Core Web Application. Also added a new class library under...

View Article

You must add a reference to assembly 'mscorlib, Version=4.0.0.0,...

Hi Devs,first of all I want to to say that I really liked the RC1 release, but didn't expect the MS team to radically change everything in RC2? 👎 Why call it RC while you changed practically everything...

View Article
Browsing all 9386 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>