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

Going in Cricles on Distinct Record Returns

I am sure this is simple and I am just missing something...I have a view component: public IViewComponentResult Invoke(int id) { var supplierContacts = _context.SupplierContact .Where(s =>...

View Article


SqlException -OFFSET, NEXT & FETCH

Hello,  I have this SqlException error in my ASP Core project , and I have no clue from where the error come from. Line : http://prnt.sc/f291qbException message : http://prntscr.com/f29418    sorry...

View Article


Being a newbee I want to learn basic syntax of csharp7 & ef core 1.0

Sir,I have a java background and want to learn csharp 7 & ef core.As for as csharp is concerned I can understand it very similar to java. But still there are some new things like "using" instead of...

View Article

Image Upload Tutorials and Advice

I am still very much a begineer in ASP.Net.  I stumble about and occasionally something clicks and I can get a lot of what I need done.But this is frustrating me chronically.  What I want to do is add...

View Article

Custome SignInManager with Version=3.0.0.0 Microsoft.AspNet.Identity

I just started to learning ASP.net 5 or you can say ASP.NET Core 1.0. Whenever I create project from existing Visual Studio 2015 template, its come with existing User Authentication code which is...

View Article


Help on 404 custom

"Create a web page (Err404.aspx) with custom error message which will be displayed when a user try to access a non-existing web page"I created the ERR404.aspx page, now this is code when i add to be...

View Article

NonFactors Grid MVC 6 and Checkbox / Multiselect

I am working with a problem.  I can currently display data on a page with the NonFactors Grid MVC6, though it is incomplete data.  Currently for Boolean values it is displaying a True or False on the...

View Article

How to put mvc controller and web api controller together with the same name

The current folder structure is Controllers       Apis             MoviesController       MoviesController      but it caused a problem every time  I call the delete action in moviescontroller(inside...

View Article


update dotnet 1.03 to 1.1.1 on Ubuntu

hello all, How can i upgrade dotnet SDK to 1.1.1 for linux (ubuntu)

View Article


Entity Framework Core

Hi,    how do I create an Edit for the below. The code pasted works, there is no error. My question is about CRUD. I would like functionality for (CRUD - Update) / "EDIT" on the Blog.I think it would...

View Article

Can Auth0 and asp.net identity be used at the same time

eg: I have a core MVC project, and it uses identity ,then I built WebApis inside the project, can I use auth0 and asp.net identity at the same timeIf yes, how should I integrate these two authentication

View Article

Entity Framework Core 1.1

Hello guys,I want to start use Visual Studio 2017, but i afraid from Entity Framework Core 1.1,I know that Entity Framework Core not support Stored Procedures, But i want to make big project and i need...

View Article

Can't run the setup from dotnet new reactredux

After doing:dotnet new reactreduxdotnet restoredotnet runI get this error:ERROR in [at-loader] ./ClientApp/components/Layout.tsx:13:21     TS2322: Type '{}' is not assignable to type...

View Article


Async method hanging the second time it is called

I have converted my code as much as possible line for line from old asp.net to .net core.One piece of code is not working and I think it is because a deadlock is happening on an async method...

View Article

View Component Grief - Not Handling Paginated List

Not even sure this is possible, thought it would be very nice to have though.I have created a sales page, with a view component of outstanding quote requests.@{ ViewData["Title"] = "Sales Page";...

View Article


PTO Calender

Here is my code for my PTO calendar:<asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="2" BackColor="#F7F6F3" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana"...

View Article

Custom Validation Attribute not working client side

Its  been a while since I have done this and I read about the changes in the docs but this isn't working on the client. Any help would be appreciated.[AttributeUsage(AttributeTargets.Property,...

View Article


Deployed WebAPI project fails to perform dependency injection for middleware

I'm deploying a site to Windows Server 2012 R2, and I get this error from the deployed site:InvalidOperationException: Unable to resolve service for type...

View Article

textbox' height

Hi,I just deployed an application to QA and the deployed web application's text boxes' height are twice the size as that of development's running in VS.  Also, the spaces with between are much larger...

View Article

How to return Unauthorized result in OnActionExecuting method

public override void OnActionExecuting(ActionExecutingContext filterContext) { var authenticateKey = filterContext.HttpContext.Request.Headers["AuthenticateKey"]; if...

View Article
Browsing all 9386 articles
Browse latest View live


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