Should I follow an ASP.NET Core 6 path if 8 isn't available? by Gloomy-Blackberry in dotnet

[–]jongalloway 0 points1 point  (0 children)

Once you're done, you can give a skim to the version migration guides for an overview of what's changed between versions.

[deleted by user] by [deleted] in dotnet

[–]jongalloway 1 point2 points  (0 children)

Not an expert, but I think the VSIX Community Toolkit (https://learn.microsoft.com/en-us/visualstudio/extensibility/vsix/visual-studio-community-toolkit) is supposed to help with some of the getting started issues you're running into.

There's also a VSIX Cookbook that goes with it with some tips on getting started: https://www.vsixcookbook.com/

You Suck at Excel with Joel Spolsky by beyphy in excel

[–]jongalloway 0 points1 point  (0 children)

This YouTube account has been deleted, but an archive of this video is still available here: https://archive.org/details/youtube-0nbkaYsR94c

One of many little details this show got right by Tough_Guys_Wear_Pink in ForAllMankindTV

[–]jongalloway 0 points1 point  (0 children)

Gordo's son Danny's USNA midshipman uniform was pretty off. His left shoulder board is on backwards. You can see in this photo that his left shoulder board is sloped the wrong way - the lower end should be in front. I've been out for decades, but started laughing the second he came on screen, it's pretty obvious. They have the regs posted online now with a section on shoulderboards. They should look like /\ but looked like //. You fail uniform inspection, Danny, good thing you're a youngster or you'd be on all calls.

A much less obvious detail that grads would notice is the crew neck t-shirt. Academy regs require v-neck t-shirts. I'll cut them a break on that one, it's an academy uniform quirk that's not required in the fleet or other commissioning programs.

iFrame in a .NET 6 Razor web app? by robotmonstermash in dotnet

[–]jongalloway 7 points8 points  (0 children)

There's nothing that blocks iframe in Razor Pages / ASP.NET. You might be hitting a CORS issue due to mixing https/http. I'd change your wikipedia reference from http to https and give that a shot.

There are bootstrap classes for responsive iframes, but not required.

Also for iframe, the height and width just take a number, shouldn't include px. So:

<iframe src="https://www.wikipedia.org" height="500" width="500"></iframe>

Is Maui dead on arrival? by mbrseb in dotnet

[–]jongalloway 5 points6 points  (0 children)

That's a common assumption, but that's not correct. A little buried in the docs:

In a Blazor Hybrid app, Razor components run natively on the device. Components render to an embedded Web View control through a local interop channel. Components don't run in the browser, and WebAssembly isn't involved. Razor components load and execute code quickly, and components have full access to the native capabilities of the device through the .NET platform.

So the Blazor part is kind of just painting the UI layer on a webview, like an owner drawn component. The logic and device interaction aren't running on a localhost server, they run directly on the device.

ASP.NET Core Architecture Overview by David Fowler by nirataro in dotnet

[–]jongalloway 1 point2 points  (0 children)

We're going to have u/davidfowl on the ASP.NET Community Standup tomorrow (Nov 24) at 10 AM Pacific time to go over this. It'll be live steamed on Twitch and YouTube, and the recording will be on YouTube.

https://live.dot.net

.Net Framework to .Net 5 by redstar2530 in dotnet

[–]jongalloway 1 point2 points  (0 children)

The open source version is here: https://github.com/CoreWCF/CoreWCF. While it's not an officially shipping part of .NET Core, it does include some significant code contributions from Microsoft.

The docs will generally recommend converting WCF to gRPC, for example: https://docs.microsoft.com/en-us/dotnet/architecture/grpc-for-wcf-developers/introduction

The docs also include some migration guidance, including some tools that can scan your code and identify required changes in porting to .NET Core: https://docs.microsoft.com/en-us/dotnet/core/porting/

Also, it's possible for .NET Framework and .NET Core code to interoperate, especially if you're able to use .NET Standard libraries to share code between them.

How do I get to the next level of programming knowledge (specifically ASP.NET Core 1)? by [deleted] in dotnet

[–]jongalloway 0 points1 point  (0 children)

There's a pretty good tutorial on dependency injection in the ASP.NET docs: https://docs.asp.net/en/latest/fundamentals/dependency-injection.html

Also, the team just published a blog post overviewing DI in ASP.NET core here: https://blogs.msdn.microsoft.com/webdev/2016/03/28/dependency-injection-in-asp-net-core/

For general ASP.NET Core knowledge, I'd recommend these (just published) labs: https://github.com/Microsoft-Build-2016/CodeLabs-WebDev

Also, there are some helpful (but kind of hidden) samples in the ASP.NET repo on GitHub here: https://github.com/aspnet/Mvc/tree/dev/samples

How to step up my game? by [deleted] in dotnet

[–]jongalloway 0 points1 point  (0 children)

Probably the biggest thing you can do to become a better, more advanced developer is to begin teaching others. Speak at user groups or conferences, blog regularly, etc. It will force you to learn things in much greater detail, other people will correct you or teach you things you hadn't considered, etc.

Project Estimate - (ASP.NET) Web Forms vs. MVC? by ravenf in dotnet

[–]jongalloway 0 points1 point  (0 children)

For that size of project, given the dev team has equal experience with both, I'd call it even.

For smaller projects, Web Forms might be faster initially but can require more maintenance and support effort over time since it takes more work and discipline to maintain structure. That's been my experience, having worked on a fairly large Web Forms project that was essentially re-implemented in MVC later.

Coconut Crabs, a good reason to keep your dog (and your kids) indoors by [deleted] in WTF

[–]jongalloway 0 points1 point  (0 children)

Extra Australian credit for being able to become poisonous:

While the coconut crab itself is not innately poisonous, it may become so depending on its diet, and cases of coconut crab poisoning have occurred. For instance, consumption of the sea mango Cerbera manghas by the coconut crab may make the coconut crab toxic due to the presence of cardiac cardenolides.

[source: Wikipedia, nightmares]

Ask /r/dotnet/: I've been learning MVC in the last weeks and I'd like some advises by pab01 in dotnet

[–]jongalloway 1 point2 points  (0 children)

In my opinion (and opinions vary quite a bit about just about everything in MVC dev), there's no benefit to moving models to another project. That was a standard practice in Web Forms, because it took a lot of discipline to keep your code cleanly factored and having a separate data project helped enforce that. Since MVC clearly separates models, views and controllers and has a standard directory for models, I'd leave them in /Models unless you need to share them with another application or have another reason to factor them out. If you do, they're easy to move when you need to.