ASP.NET Community Standup - May 3rd, 2016 - Orchard CMS on .NET Core on Ubuntu


Generating Download Link, Please wait . . .


Generated Downlodable Links


Published: 2 years ago
ASP.NET Community Standup - May 3rd, 2016


comment  Comments

Why is there not much traction with OrchardCMS? It makes it difficult to adopt.

1 year ago

It would be really great if we can have community links for quick reference what Jon Galloway running through in description section ?

2 years ago

Guest would be easier to understand if not for the low fidelity sound.

2 years ago

Damian, It's probably good to tell Windows 10 what your working hours are because you might be away from your computer for some time, perhaps having lunch or in a meeting. Without working hours Windows would assume you are not using it as there was no input so it starts to do an update. Then you return from lunch and are frustrated that your PC is in the process of updating... Microsoft could analyse the user's usage patterns, maybe this would be nice in the future, however that involves collecting and processing lots of data. The simplest solution is just to allow the user to declare their working hours.

2 years ago

Twitch absolutely has group chat.

2 years ago

Hanselman sure likes to brag about his donated 3d printers. Why we have to stand that annoying background noise in every hangout? because you dont look cool, you look unprofessional.

2 years ago

My favorite is when Windows10 will blue screen and when it reboots it goes to installing updates.

2 years ago

So hard to understand. :( no disrespect to Seb.

2 years ago

I really hate to say this but considering the:
- Windows phone mess,
- Windows 10 Fascist rubbish, which made my computer a M$ terminal as opposed to be my own PC, from which I am revering to W8.1 at first opportunity,
- the horrible Windows 8 Start screen about which many including myself wrote to M$ suggesting to make it optional in the final OS release,
- the garbage collector idiotism in .NET which allowed 3-rd rate scribes to become "professionals",
- removing proper desktop apps from M$ store, etc, etc,
- and now seeing the this most recent embarrasment, I am getting the sad feeling that bunch of kids have taken over Microsoft and are now steady on the way to burn up the good house.

It seems to me that Microsoft needs people who really understand Object Oriented programming, and not common C programmers following the unix/linux paradigm in which classes are used to write standard procedural code, speaking in general.

2 years ago

+Huy Hoang Checked exceptions might seem tedious, but last week I had a situation where a coworker of mine decided to change a shared data access library.

My code expects an exception when something goes wrong, and he put in a catch when originally there was only a try finally.

It took me hours to figure out what was going on with my .NET app.

Of course I made this go away by adding a Unit test method which expects an exception. So in the future my tests will fail if somebody messes with the shared lib.

But a simple checked exception could have prevented the whole situation.

2 years ago

+Huy Hoang Checked exceptions might seem tedious, but last week I had a situation where a coworker of mine decided to change a shared data access library.

My code expects an exception when something goes wrong, and he put in a catch when originally there was only a try finally.

It took me hours to figure out what was going on with my .NET app.

Of course I made this go away by adding a Unit test method which expects an exception. So in the future my tests will fail if somebody messes with the shared lib.

But a simple checked exception could have prevented the whole situation.

2 years ago

+MBBSoftware First off, I must say that you make no sense in complaining about Windows here, or saying that the .NET people are pushing Windows in the wrong direction. Because the .NET people are NOT pushing Windows anywhere: they're not the ones who build Windows. In fact they're pushing .NET to run outside of Windows. So use Ubuntu to build your ASP.NET if you wish to.

Secondly, speaking about main(), please remember that the "magic" Startup class (without main) is the thing that ASP.NET core originally went with. Now they're using main() for a couple of reasons. First is to adhere to the new .NET CLI, where a web app is nothing more than a "console app" (started by calling main()). It gives choices, you can choose not to use Kestrel, or IIS integration if you don't want to. If you just wanna write your app's class and not main(), no one forces you to touch it. Feel free to construct whatever you want in the Startup class constructor. The new ASP.NET middleware pipeline makes it extremely easy to plug in any kind of request handler, let it be Nancy or whatever.

And finally, whenever you say that .NET is a "mess of OO and poor ideas", remember "checked exception"

2 years ago

+James Harrison Why? Define "construction", define "action like". I know what you mean. The reason however is not "good practices", rather it is that until the construction is complete, the object does not exist strictly speacking. Note that I said to "start". Note that the OS has its starter, wrapper and exception handling function, the contructor of the app constructs the app with the passed parameters - now this is proper OO design. A method on the constructed app object may be called later, in various ways, e.g. through some kind of a deligate, so now this method is can vary based on circumstances. Proper & consistent design always wins in a long term. Naturally CMD line parameters are matched to the appropriate constructor, but some parameter shuffling done by the OS wrapper function may be needed.

I guess the argumet is who should own the so called "main", and that this name is probably not the best that one can think of. In my understanding of OO design it should belong to the OS, as described above, allowing elegant, consistent & polimorphic nature.

2 years ago

+MBBSoftware It's bad practise to do action-like work in the constructor. Constructors should initialize only, not be the program.

The concept of having main() for ASP is cool. making your code the program runner, not your code inside a pre-made program, much better control.

2 years ago

Scott, did you really say "das ist nicht gut"? - very appreciated.

2 years ago

+tommes As a german, I was like "wtf, did he just said das ist nicht gut?" haha nice one

2 years ago

How do you ask questions now?

2 years ago

+TheRubble no Q&A this week :) you can tweet though to scot

2 years ago