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

How to refresh the page or Update the UI after downloading the file( tracking...

I am trying to download a file which needs to track whether file downloaded succesfully or not.Based on the result i need to update the UI with succssfuly or unsuccesfuly download message.Could someone...

View Article


How to create a thumbnail image in ASP.NET Core?

How to create a thumbnail image in ASP.NET Core? Googled and couldn't found. Somewhere suggested to move back to .NET Framework from .NET Core but that is not the solution.Tried to use...

View Article


Unable to publish to Azure web app from a .net core application from command...

I have a hard time to publish to azure webapp via command line. First of all I tried with VS generated powershell scripts which are getting generated inside .\Properties\PublishProfiles. I referred the...

View Article

Ignoring a request

I am trying to ignore request to certain routes. I tried writing a piece of custom middleware to handle this but I think its too late in the pipe line. It returns a blank page. I am creating an MVC app...

View Article

No IntelliSense for TagHelpers in Asp.NET Core RC2

<div class="post-text" itemprop="text">I tried everything possible and I still can't get IntelliSense to work with Tag Helpers.What I tried:MVC 6 Tag Helpers...

View Article


Strange calendar presentation

I have followed the tutorial at https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/indexWhen I add DataType attribute (DataType.Date) to the ReleaseDate field of the model, I get a...

View Article

VS.NET 2015 with Update 3, .NET Core 1.1.0 Razor Tag Helpers do not get...

Hi, After upgrading my project to .NET Core 1.1.0, Razor Tag Helpers do not get colorization or special IntelliSense at design time.  They work normally at runtime.global.json file:{"projects": [...

View Article

Pass dapper model to ienumberable model in view page

hello members,how to pass dapper model to ienumberable model in view page?Example : I am passing ienumberable model in grid.cshtml and i wanted a dropdownlist for sorting of values in grid.cshtml.As...

View Article


aspnet core datatable.AsEnumerable()

does anyone know how we can use this in aspnet core 1.01, i have tried adding System.Linq and System.linq.Parallel 4.0.0 from nuget *4.1 and 4.0.1 are broken at the moment in nuget* but i still cannot...

View Article


.net core for oracle

hi all,i am developing ado.net for oracle now i am moving to .net core how can i do it?

View Article

Pdf generation

Is there any nuget packages to generate pdf that support asp.net core 1? 

View Article

Issue when add TagHelper

Hi  i have created a .net core project . I want to add tag helpers for this project.after  add a code line@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers;to the _ViewImports.cshtml   ,  pages are not...

View Article

error A connection attempt failed because the connected party did not...

hi my friendsgood timingin receive email from some providers , i get this error:on code:using (ImapClient ic = new ImapClient(ImapServer, Username, Password, ImapClient.AuthMethods.Login, ImapPort,...

View Article


asp.net core angular 2 deployment issue

Hello,I created a project using the ASP.NET core Angular 2 Starter Application on my Windows 10 pro development machine using Visual Studio 2015 and it works fine running in IIS express.I am trying to...

View Article

Porting Windows Service app to .NET Core

Hello!I have a windows service (it is OWIN + Web API + SignalR app) and I want to port it to .NET Core. I did not implement my app as ASP.NET site because it has some background logic which is not a...

View Article


The dependency "EntityFramework": "6.1.3" does not support framework...

Hi,I am using a generic repositoryusing System.Data.Entity; ... public class GenericRepository<T>:IGenericRepository<T> where T : class { private NorthwindEntities db = null; private...

View Article

Cryptography .NET Core

Hello,Anyone can give me the corresponding .NET Core statement/code for this: byte[] hmac = SHA.computeHMAC_SHA256(byte[] toBeHashed, byte[] key));Thanks. Guy

View Article


save, upload, display photos with asp.net mvc core

Greetings,I am trying to save, upload photos to sql db using asp.net mvc core. I think I was able to upload the photo correctly because it states binary data in sql table.While coding out the display...

View Article

How format values in ienumerable View model in .net core mvc?

@Html.DisplayFor(modelItem => item.vouchertype == "P" ? "Paid" : "Receipt")& @Html.DisplayFor(modelItem => item.dated.ToString("dd-MMM-yy"))trying to format the value but error occurs...

View Article

Asp.net core 1.1.0 and Mailkit

Hi,I'm using mailkit to send mail forms from my web site.But I have problems with authentication - getting response from gmail server error 500. using (var client = new SmtpClient())            {...

View Article
Browsing all 9386 articles
Browse latest View live


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