Satisfying Weekend
-
So, I got this new job, where the work is MVC, so I thought that while I waited for all the in-processing stuff to happen (so I can actually start work), I decided to start writing a MVC app. So far, I've managed to eradicate Entity Framework in its entirety (in deference to my own DAL), created my own Identity code to replace the ASPNetxxx code, created a lot of the back-end static data (I've spent almost a week on this, and still have a ways to go before I'm done with it) so that I can exercise the app, and came up with a dark appearance that I really like. I really hate everything javascript, but the reality is that it simply can't be avoided, so today, I took on the task implementing "fluff". I pretty much got a set of cascading drop-down lists working in relative harmony (using ajax), and implemented a custom jquery-ui progress bar that shows the percentage of characters remaining in the associated text input (or area) control as the user types The progress color changes from green, to yellow, to red depending on what percentage of characters is remaining. I'm sure there are better ways to do what I did, but as much as I dislike javascript, if it works, it ships. Just exercising my MVC muscles...
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013#realJSOP wrote:
I really hate everything javascript, but the reality is that it simply can't be avoided
Oh yes it can! I'm currently working for a customer who has zero JavaScript. They've done everything using Angular and TypeScript. You don't have to use Angular to use TypeScript, of course, but when you use Angular TypeScript is mandatory I think. Personally I prefer to keep things KISS and I just use JavaScript (with Vue.js), but try to keep it to a bare minimum. I'd look into TypeScript if I were you. It's like strongly typed JavaScript created by the creator of C# and people love it.
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
#realJSOP wrote:
I really hate everything javascript, but the reality is that it simply can't be avoided
Oh yes it can! I'm currently working for a customer who has zero JavaScript. They've done everything using Angular and TypeScript. You don't have to use Angular to use TypeScript, of course, but when you use Angular TypeScript is mandatory I think. Personally I prefer to keep things KISS and I just use JavaScript (with Vue.js), but try to keep it to a bare minimum. I'd look into TypeScript if I were you. It's like strongly typed JavaScript created by the creator of C# and people love it.
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
Angular and Typescript *are* javascript.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013 -
Angular and Typescript *are* javascript.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013Sure, TypeScript is ultimately transpiled to JavaScript. The difference is you don't have to write the JavaScript yourself. Alternatively, you could look into Blazor and use C# in your front-end.
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
Sure, TypeScript is ultimately transpiled to JavaScript. The difference is you don't have to write the JavaScript yourself. Alternatively, you could look into Blazor and use C# in your front-end.
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
Can you use Blazor in a .net framework app?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013 -
Can you use Blazor in a .net framework app?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013I haven't actually used Blazor myself and I haven't used .NET Framework with web in years, but apparently it is possible: asp.net mvc - Can Blazor WebAssembly be incorporated into a .NET Framework 4.8 MVC site? - Stack Overflow[^]
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
I haven't actually used Blazor myself and I haven't used .NET Framework with web in years, but apparently it is possible: asp.net mvc - Can Blazor WebAssembly be incorporated into a .NET Framework 4.8 MVC site? - Stack Overflow[^]
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
I don't want to jump through the hoops to do blazor in .netf. The dev landscape (for lack of a better term) regarding typescript and scss (which i've only just now discovered) appears to be filled with land mines. I found out about buildwebcompiler, but that project was abandoned 5 years ago, and the last available version doesn't install in VS2017 (I get an error "An object isn't set to the instance of an object", and the install fails). There's a forked version being maintained by someone else, but they've removed the node.js dependency, so it only compiles SCSS files.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013 -
So, I got this new job, where the work is MVC, so I thought that while I waited for all the in-processing stuff to happen (so I can actually start work), I decided to start writing a MVC app. So far, I've managed to eradicate Entity Framework in its entirety (in deference to my own DAL), created my own Identity code to replace the ASPNetxxx code, created a lot of the back-end static data (I've spent almost a week on this, and still have a ways to go before I'm done with it) so that I can exercise the app, and came up with a dark appearance that I really like. I really hate everything javascript, but the reality is that it simply can't be avoided, so today, I took on the task implementing "fluff". I pretty much got a set of cascading drop-down lists working in relative harmony (using ajax), and implemented a custom jquery-ui progress bar that shows the percentage of characters remaining in the associated text input (or area) control as the user types The progress color changes from green, to yellow, to red depending on what percentage of characters is remaining. I'm sure there are better ways to do what I did, but as much as I dislike javascript, if it works, it ships. Just exercising my MVC muscles...
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013Saturday I went to a fantastic talk on honey bees by a local retired bee person, he and his wife founded Spikenard Farm – Honeybee Sanctuary[^] - learned a lot about their biology and life cycle and how they make honey and gather pollen and on and on. Sunday I saw a one man production of Faust done by my friend and playwright/actor Glen Williamson. Oh, and I worked on the "community event planner" website I'm putting together (.NET 6 C# backend and TypeScript front-end).
Latest Article:
Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a Domain -
#realJSOP wrote:
I really hate everything javascript, but the reality is that it simply can't be avoided
Oh yes it can! I'm currently working for a customer who has zero JavaScript. They've done everything using Angular and TypeScript. You don't have to use Angular to use TypeScript, of course, but when you use Angular TypeScript is mandatory I think. Personally I prefer to keep things KISS and I just use JavaScript (with Vue.js), but try to keep it to a bare minimum. I'd look into TypeScript if I were you. It's like strongly typed JavaScript created by the creator of C# and people love it.
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
As realJSOP said, TypeScript is still JavaScript. :laugh: But yeah, way way better than working in JavaScript. I do find it amusing though how a file of interfaces in TypeScript transpiled to a file with no actual lines of code in JavaScript. So much typing just for type safety. :laugh:
Latest Article:
Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a Domain -
So, I got this new job, where the work is MVC, so I thought that while I waited for all the in-processing stuff to happen (so I can actually start work), I decided to start writing a MVC app. So far, I've managed to eradicate Entity Framework in its entirety (in deference to my own DAL), created my own Identity code to replace the ASPNetxxx code, created a lot of the back-end static data (I've spent almost a week on this, and still have a ways to go before I'm done with it) so that I can exercise the app, and came up with a dark appearance that I really like. I really hate everything javascript, but the reality is that it simply can't be avoided, so today, I took on the task implementing "fluff". I pretty much got a set of cascading drop-down lists working in relative harmony (using ajax), and implemented a custom jquery-ui progress bar that shows the percentage of characters remaining in the associated text input (or area) control as the user types The progress color changes from green, to yellow, to red depending on what percentage of characters is remaining. I'm sure there are better ways to do what I did, but as much as I dislike javascript, if it works, it ships. Just exercising my MVC muscles...
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013Maybe you said it elsewhere and I missed it, is it a new role in the same org or completely different employer? Or is it as classified as the last job?
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
-
Maybe you said it elsewhere and I missed it, is it a new role in the same org or completely different employer? Or is it as classified as the last job?
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
No, different employer altogether, and yes, just as classified as the last one. :)
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013 -
Saturday I went to a fantastic talk on honey bees by a local retired bee person, he and his wife founded Spikenard Farm – Honeybee Sanctuary[^] - learned a lot about their biology and life cycle and how they make honey and gather pollen and on and on. Sunday I saw a one man production of Faust done by my friend and playwright/actor Glen Williamson. Oh, and I worked on the "community event planner" website I'm putting together (.NET 6 C# backend and TypeScript front-end).
Latest Article:
Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a DomainI'm not sure what you mean by Typescript front end. Are you saying it's just HTML5 and typescript, with no MVC goodness thrown in?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013 -
As realJSOP said, TypeScript is still JavaScript. :laugh: But yeah, way way better than working in JavaScript. I do find it amusing though how a file of interfaces in TypeScript transpiled to a file with no actual lines of code in JavaScript. So much typing just for type safety. :laugh:
Latest Article:
Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a DomainMarc Clifton wrote:
So much typing just for type safety.
Which is why I still use JavaScript myself :D
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
I don't want to jump through the hoops to do blazor in .netf. The dev landscape (for lack of a better term) regarding typescript and scss (which i've only just now discovered) appears to be filled with land mines. I found out about buildwebcompiler, but that project was abandoned 5 years ago, and the last available version doesn't install in VS2017 (I get an error "An object isn't set to the instance of an object", and the install fails). There's a forked version being maintained by someone else, but they've removed the node.js dependency, so it only compiles SCSS files.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013A client of mine uses it and it involves manually running scripts :sigh:
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
No, different employer altogether, and yes, just as classified as the last one. :)
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013Well here's hoping the new place isn't as daunting as the last place.
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
-
So, I got this new job, where the work is MVC, so I thought that while I waited for all the in-processing stuff to happen (so I can actually start work), I decided to start writing a MVC app. So far, I've managed to eradicate Entity Framework in its entirety (in deference to my own DAL), created my own Identity code to replace the ASPNetxxx code, created a lot of the back-end static data (I've spent almost a week on this, and still have a ways to go before I'm done with it) so that I can exercise the app, and came up with a dark appearance that I really like. I really hate everything javascript, but the reality is that it simply can't be avoided, so today, I took on the task implementing "fluff". I pretty much got a set of cascading drop-down lists working in relative harmony (using ajax), and implemented a custom jquery-ui progress bar that shows the percentage of characters remaining in the associated text input (or area) control as the user types The progress color changes from green, to yellow, to red depending on what percentage of characters is remaining. I'm sure there are better ways to do what I did, but as much as I dislike javascript, if it works, it ships. Just exercising my MVC muscles...
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013So are you away from the DoD environment now? I was always appalled when you talked about the idiocy in that.
Software Zen:
delete this;
-
So are you away from the DoD environment now? I was always appalled when you talked about the idiocy in that.
Software Zen:
delete this;
No, but the level of idiocy may be lower than the last place.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013 -
No, but the level of idiocy may be lower than the last place.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013That's good. It always sounded like an active conspiracy to keep you from doing your job before. I'm fortunate in that the only adversary I have internally is corporate IT, and I'm not shy about playing the "but I develop products that make us money" card.
Software Zen:
delete this;