Click here to Skip to main content
14,768,089 members
Home » Discussions » ASP.NET
   

ASP.NET

 
Question.net Core 2.1, Startup.cs, IConfiguration vs IHostingEnviroment Pin
jkirkerx27-Jun-18 8:14
professionaljkirkerx27-Jun-18 8:14 
AnswerRe: .net Core 2.1, Startup.cs, IConfiguration vs IHostingEnviroment Pin
Richard Deeming27-Jun-18 8:45
mveRichard Deeming27-Jun-18 8:45 
GeneralRe: .net Core 2.1, Startup.cs, IConfiguration vs IHostingEnviroment [solved] Pin
jkirkerx27-Jun-18 9:08
professionaljkirkerx27-Jun-18 9:08 
QuestionBody Tag, Razor and AngularJS workaround or better idea for body tag cannot have c# in it. Pin
jkirkerx27-Jun-18 7:26
professionaljkirkerx27-Jun-18 7:26 
AnswerRe: Body Tag, Razor and AngularJS workaround or better idea for body tag cannot have c# in it. Pin
Richard Deeming27-Jun-18 8:13
mveRichard Deeming27-Jun-18 8:13 
GeneralRe: Body Tag, Razor and AngularJS workaround or better idea for body tag cannot have c# in it. Pin
jkirkerx27-Jun-18 9:13
professionaljkirkerx27-Jun-18 9:13 
GeneralRe: Body Tag, Razor and AngularJS workaround or better idea for body tag cannot have c# in it. Pin
Richard Deeming27-Jun-18 9:18
mveRichard Deeming27-Jun-18 9:18 
Question.Net Core 2.1, DI and System.Web in a separate 2.1 Project Pin
jkirkerx25-Jun-18 13:14
professionaljkirkerx25-Jun-18 13:14 
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 querystrings, Request.Url, Session Value, Request.Headers for User Agent
HttpCookies
And reading the Web.Config file that doesn't exist anymore.

My original project design had a separate project that contained extra controllers, controller Attributes, security Attributes
and used the above to operate. it also contained the Entity Framework context, models, seeds, etc and needs a connection; and contains all the email stuff as well which requires access to appSettings.json.

I haven't been able to run the new app yet, for I'm refactoring the external .net core 2.1 project.

My question is, will I end up learning that I can't load dependency injections from the primary project to the secondary project?
Won't be able to load connection strings, and I'll have to move parts back to the primary project?
If it ain't broke don't fix it
Discover my world at jkirkerx.com

AnswerRe: .Net Core 2.1, DI and System.Web in a separate 2.1 Project Pin
F-ES Sitecore26-Jun-18 1:03
mveF-ES Sitecore26-Jun-18 1:03 
GeneralRe: .Net Core 2.1, DI and System.Web in a separate 2.1 Project Pin
jkirkerx26-Jun-18 7:33
professionaljkirkerx26-Jun-18 7:33 
AnswerRe: .Net Core 2.1, DI and System.Web in a separate 2.1 Project Pin
Richard Deeming26-Jun-18 2:37
mveRichard Deeming26-Jun-18 2:37 
GeneralRe: .Net Core 2.1, DI and System.Web in a separate 2.1 Project Pin
jkirkerx26-Jun-18 7:35
professionaljkirkerx26-Jun-18 7:35 
QuestionImages are not exporting to pdf using jspdf.debug.js Pin
Member 1370125122-Jun-18 0:05
MemberMember 1370125122-Jun-18 0:05 
QuestionReactJS.Net - Server side rendering works in development, but not on my production server Pin
jkirkerx14-Jun-18 12:36
professionaljkirkerx14-Jun-18 12:36 
Answer[solved] Pin
jkirkerx18-Jun-18 10:52
professionaljkirkerx18-Jun-18 10:52 
QuestionBlurry Pdf Output while uisng Html2pdf.bundle.js Pin
Member 1370125113-Jun-18 20:35
MemberMember 1370125113-Jun-18 20:35 
AnswerRe: Blurry Pdf Output while uisng Html2pdf.bundle.js Pin
Nathan Minier14-Jun-18 17:46
professionalNathan Minier14-Jun-18 17:46 
QuestionConversion of HTML to PDF Using JsPdf Pin
Member 1370125111-Jun-18 21:08
MemberMember 1370125111-Jun-18 21:08 
QuestionRe: Conversion of HTML to PDF Using JsPdf Pin
Richard MacCutchan11-Jun-18 22:38
mveRichard MacCutchan11-Jun-18 22:38 
AnswerRe: Conversion of HTML to PDF Using JsPdf Pin
Member 1370125112-Jun-18 0:53
MemberMember 1370125112-Jun-18 0:53 
QuestionImg Collection Pin
sunsher9-Jun-18 2:44
Membersunsher9-Jun-18 2:44 
AnswerRe: Img Collection Pin
Vincent Maverick Durano12-Jun-18 21:47
professionalVincent Maverick Durano12-Jun-18 21:47 
AnswerRe: Img Collection Pin
User 418025414-Jun-18 8:05
MemberUser 418025414-Jun-18 8:05 
QuestionHow do I control the specflow execution sequence Pin
Ger Hayden5-Jun-18 0:18
MemberGer Hayden5-Jun-18 0:18 
QuestionInsuring that an application does not maintain a valid state on initialization or shutdown failure. Pin
holdorf4-Jun-18 9:45
Memberholdorf4-Jun-18 9:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.