Quantcast
Channel: CodeProject Latest postings for ASP.NET
Browsing all 3938 articles
Browse latest View live

.net Core 2.1, Startup.cs, IConfiguration vs IHostingEnviroment

Well I have two functions called Startup and I just need one I think. One was stock called Startup(IConfiguration configuration) that gets called from Program.cs I think, and the other I added from...

View Article


Senior MVC Full Stack Developer Job Postings with Angular Experience

Last question of the day I hope. I've been job hunting over the last 3 months. In my area there are all these Senior MVC Full Stack Developer job postings in which they ask for the following...

View Article


.Net Core 2.1, Get the Environment to seed a database so I can get the path

I have 2 issues here on replacing MapPath. After reading many articles on the subject, guess I am the sloppy programmer that used MapPath inside functions to handle physical file locations for image...

View Article

.Net Core 2.1 IHostingEnvironment, how to access it

So I have it working where I can get the wwwroot from the controller, but I would like to be able to get it from a class static function that the controller calls. I’m at the point where I have to...

View Article

Binding selected value of Dropdownlist to Grid

Hi, I am using Kendo Dropdown list and Kendo Grid, when I select an item, in the dropdown, the Kendo grid should display the records for value of the selected item of the Kendo dropdown, when I change...

View Article


Loop through dataset to create hyperlinks in aspx

I have a sql table that I want to loop through and create html links I currently have :-DS = x.LoadBlueUploads(mynumber)Dim dr As DataRow dt = DS.Tables(0)ForEach dr In dt.Rows'not sure what code to...

View Article

.Net Core 2.1 - Setting Session Value in controller, then reading it in...

This works in Fire Fox, but not in Chrome or Edge on Win 10. In the Controller, when you login, I write a session value, and then redirect to a page. On that page, I have a Controller Attribute called...

View Article

Angular project

what are some good open source projects written in angular 4+ with combination of ASP.NET MVC===================================================== The grass is always greener on the other side of the...

View Article


How to use angular along with ASP.NET mvc project

How to use angular along with ASP.NET mvc project? Aren't Angular and ASP.NET MVC mutually exclusive? I mean angular is totally different than asp.net mvc, here(asp.net) code executes on server and in...

View Article


Blurry Pdf Output while uisng Html2pdf.bundle.js

Hi, Am working on Converstion of html to pdf using Html2pdf.bundle.js but am getting Blurry Pdf Output.Can anyone suggest me to overcome this error. Thanks in advance.

View Article

.Net Core 2.1, DI and System.Web in a separate 2.1 Project

I decided to take up .Net Core 2.1 and port over a project to it, which now seems like a bad idea. I've noticed that some of the support in system.web has been deleted such as HttpContext to get...

View Article

.net Core 2.1, Startup.cs, IConfiguration vs IHostingEnviroment

Well I have two functions called Startup and I just need one I think. One was stock called Startup(IConfiguration configuration) that gets called from Program.cs I think, and the other I added from...

View Article

.Net Core 2.1, Get the Environment to seed a database so I can get the path

I have 2 issues here on replacing MapPath. After reading many articles on the subject, guess I am the sloppy programmer that used MapPath inside functions to handle physical file locations for image...

View Article


.Net Core 2.1 IHostingEnvironment, how to access it

So I have it working where I can get the wwwroot from the controller, but I would like to be able to get it from a class static function that the controller calls. I’m at the point where I have to...

View Article

.Net Core 2.1 - Setting Session Value in controller, then reading it in...

This works in Fire Fox, but not in Chrome or Edge on Win 10. In the Controller, when you login, I write a session value, and then redirect to a page. On that page, I have a Controller Attribute called...

View Article


.Net Core 2.1 with SQLite, ReactJS.net and JavascriptRenderingEngine, Porting...

Well I was going to post a question on Reactjs and why it converted my model class to lowercase which crashed the page. Talk about a head scratchier, trying to figure out if my packages are not setup...

View Article

Couldn't retrieve all records from SQL database in c#

My code is working fine for retrieval of 2 records from database after that its not working, no error. Please helprotected void btn_nxt_Click(object sender, EventArgs e) { i++; s =...

View Article


.Net Core 2.1, Favicon.ico, robots.txt, sitemap.xml, google verification file

Well I started doing some optimization such as image compression and cache headers, and stumbled upon the fact that I just can't drop these files into the root of wwwroot and expect them to serve. I...

View Article

Default Download button is not working in Chrome browser

Hi, In my project while conversion of html to pdf using jspdf, Default download button is not working in chrome...Below is my code var pdf = new jsPDF('p', 'pt', 'a4'); html2pdf(element, pdf, function...

View Article

getting these smtp exceptions in my mvc .net project,used different ports but...

CODE: part 1:#region Save to Databaseusing (MyDatabaseEntities dc = new MyDatabaseEntities()) { dc.Users.Add(user); dc.SaveChanges();//Send Email to User SendVerificationLinkEmail(user.EmailID,...

View Article
Browsing all 3938 articles
Browse latest View live


Latest Images

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