Strona głównaUżytkownik

Krzysztof Zmorzyński | użytkownik

Krzysztof Zmorzyński
Krzysztof Zmorzyński
237,64
2584 dni, 9 godzin, 32 minuty temu
23 listopada, 2016
dotnetomaniak.pl

Last time we finished with all the pieces except the common:MahAppsPopupWindowAction used in XAML. Prism already has a PopupWindowAction (it wasn't there a few years ago) so let's use that to create our own popup window action that will show MahApps-metro-style-dialog.

Dziel się z innymi:
[EN] StuffLeftAtParty - Prism WPF + MahApps modal window the MVVM way - part 2

Windows 2647 dni, 11 godzin, 38 minut temu Krzysztof Zmorzyński 72 źrodło rozwiń

Showing MahApps modal windows in a Prism WPF and MVVM friendly way (part 1).

Tagi: mahapps, MVVM, Prism, WPF
Dziel się z innymi:
[EN] StuffLeftAtParty - Prism WPF + MahApps modal window the MVVM way - part 1

Windows 2665 dni, 7 godzin, 20 minut temu Krzysztof Zmorzyński 111 źrodło rozwiń

As you may know, there's a little problem with the attribute routing in ASP.NET MVC: generating a link (via Html.ActionLink) might get real slow when you've got hundreds of attributed actions. The answer to this issue is to use named routes, so instead of Html.ActionLink you use Html.RouteLink, but that's not quite handy, at least for me it isn't. Given that I'm used to T4MVC, it seems like a step back.

Dziel się z innymi:
[EN] ASP.NET MVC pretty URLs on steroids

Web 2850 dni, 10 godzin, 7 minut temu Krzysztof Zmorzyński 59 źrodło rozwiń

Attribute routing (RouteAttribute) is a quite handy feature of ASP.NET MVC. It allows you to have nice looking URLs that everybody has already accustomed to and your client surely loves it. Plus it hides your true controller/action structure which sometimes might be desirable. But there's one catch. As your web app gets bigger and bigger, attribute routing might have a negative performance impact on your WHOLE website.

Dziel się z innymi:
[EN] The ugly truth behind pretty URLs

Web 2912 dni, 9 godzin, 34 minuty temu Krzysztof Zmorzyński 152 źrodło rozwiń

There are times that you need to call native (C/C++) code from .NET environment. To do so, you have several options: use C++/CLI, use P/Invoke mechanism, use some sort of inter-process communication like pipes, memory mapped files etc persuade yourself that it's gonna be easy to port this cool C/C++ library to C#. Shoot yourself in the head when trying to do it. We will discuss option 2.

Tagi: .Net, C#, pinvoke
Dziel się z innymi:
[EN] Passing struct array in struct via P/Invoke

Inne 2920 dni, 8 godzin, 27 minut temu Krzysztof Zmorzyński 52 źrodło rozwiń

I love T4MVC. It allows me to stop using those ugly magic strings while generating compile-time valid links or accessing resources from ASP.NET MVC views. It also has a very nice feature called IModelUnbinder. In short: it can translate action argument of any type into properly constructed link.

Dziel się z innymi:
[EN] T4MVC model unbinders

Web 2925 dni, 7 godzin, 42 minuty temu Krzysztof Zmorzyński 80 źrodło rozwiń

Everybody knows you should be making backups of everything. Especially if it's your startup's database. Without db backup you'll probably be bald soon. And you don't want to be bald.

Tagi: Azure, Powershell, SQL
Dziel się z innymi:
StuffLeftAtParty - SQL backup to Azure using Powershell

Najaktywniejsi w tym miesiącu