Click here to Skip to main content
15,913,238 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14318-Jul-18 8:51
indian14318-Jul-18 8:51 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx18-Jul-18 9:00
professionaljkirkerx18-Jul-18 9:00 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14318-Jul-18 9:06
indian14318-Jul-18 9:06 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx18-Jul-18 9:13
professionaljkirkerx18-Jul-18 9:13 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14318-Jul-18 10:23
indian14318-Jul-18 10:23 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx18-Jul-18 10:26
professionaljkirkerx18-Jul-18 10:26 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14318-Jul-18 12:38
indian14318-Jul-18 12:38 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx18-Jul-18 13:12
professionaljkirkerx18-Jul-18 13:12 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14318-Jul-18 14:33
indian14318-Jul-18 14:33 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx19-Jul-18 7:09
professionaljkirkerx19-Jul-18 7:09 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14319-Jul-18 7:47
indian14319-Jul-18 7:47 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
jkirkerx19-Jul-18 8:46
professionaljkirkerx19-Jul-18 8:46 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14319-Jul-18 9:09
indian14319-Jul-18 9:09 
GeneralRe: Conditionally Loading Partial View in a Page using Javascript Pin
indian14319-Jul-18 11:21
indian14319-Jul-18 11:21 
Questiongetting these smtp exceptions in my mvc .net project,used different ports but still not workin ,can u plz help me? Pin
Member 1390903412-Jul-18 3:32
Member 1390903412-Jul-18 3:32 
AnswerRe: getting these smtp exceptions in my mvc .net project,used different ports but still not workin ,can u plz help me? Pin
F-ES Sitecore12-Jul-18 3:48
professionalF-ES Sitecore12-Jul-18 3:48 
AnswerRe: getting these smtp exceptions in my mvc .net project,used different ports but still not workin ,can u plz help me? Pin
jkirkerx18-Jul-18 13:14
professionaljkirkerx18-Jul-18 13:14 
QuestionDefault Download button is not working in Chrome browser Pin
Member 1370125111-Jul-18 19:54
Member 1370125111-Jul-18 19:54 
AnswerRe: Default Download button is not working in Chrome browser Pin
Richard Deeming12-Jul-18 1:03
mveRichard Deeming12-Jul-18 1:03 
Question.Net Core 2.1, Favicon.ico, robots.txt, sitemap.xml, google verification file Pin
jkirkerx8-Jul-18 12:26
professionaljkirkerx8-Jul-18 12:26 
AnswerRe: .Net Core 2.1, Favicon.ico, robots.txt, sitemap.xml, google verification file [solved] Pin
jkirkerx9-Jul-18 7:31
professionaljkirkerx9-Jul-18 7:31 
QuestionCouldn't retrieve all records from SQL database in c# Pin
Sehal6-Jul-18 23:12
Sehal6-Jul-18 23:12 
AnswerRe: Couldn't retrieve all records from SQL database in c# Pin
Mycroft Holmes7-Jul-18 13:44
professionalMycroft Holmes7-Jul-18 13:44 
SuggestionRe: Couldn't retrieve all records from SQL database in c# Pin
Richard Deeming9-Jul-18 8:43
mveRichard Deeming9-Jul-18 8:43 
Question.Net Core 2.1 with SQLite, ReactJS.net and JavascriptRenderingEngine, Porting my first app over to it was really hard Pin
jkirkerx6-Jul-18 8:31
professionaljkirkerx6-Jul-18 8:31 
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 right, an error in my JSX file, or Bable.
<script>ReactDOM.hydrate(React.createElement(CommentBox, {"initialData":[{"id":1,"author":"Daniel Lo Nigro","text":"Hello ReactJS.NET World!"},{"id":2,"author":"Pete Hunt","text":"This is one comment"},{"id":3,"author":"Jordan Walke","text":"This is *another* comment"}],"url":"/comments","submitUrl":"/comments/new","pollInterval":2000}), document.getElementById("react_0HLF3D2L0PCGB"));
But I figured it out
<script>ReactDOM.hydrate(React.createElement(CommentBox, {"initialData":[{"Id":1,"Author":"Daniel Lo Nigro","Text":"Hello ReactJS.NET World!"},{"Id":2,"Author":"Pete Hunt","Text":"This is one comment"},{"Id":3,"Author":"Jordan Walke","Text":"This is *another* comment"}],"url":"/comments","submitUrl":"/comments/new","pollInterval":2000}), document.getElementById("react_0HLF3DH1L6U8N"));
</script>
Just had to change the NewtonSoft ContractResolver From CamelCase to DefaultContractResolver in in Startup.cs.

At any rate, I have just completed porting my app over, and it was really hard to learn all of these new concepts, while expanding on subjects I never bothered to look deeper into like HttpContext, Session and Cookie.

But what I ended up with is a very clean project with no clutter that is coded without evil bad habits.
I dumped some of the Razor elements for just tags and asp-....., which I might go farther with. Not sure if this is the death or Razor for me, or if I still need to use it.

I'm very happy with .Net Core 2.1 and I dig it. Seems really fast. Now I need to figure out what middleware is, and learn more about the details. Hopefully I server this up on my production web server.

I feel good about this!
If it ain't broke don't fix it
Discover my world at jkirkerx.com

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.