dotnetomaniak.pl

Strona głównaUżytkownik

Krzysztof Zmorzyński | użytkownik

Krzysztof Zmorzyński
Krzysztof Zmorzyński
167,57
93 dni, 15 godzin, 55 minut temu
23 listopada, 2016
dotnetomaniak.pl

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 160 dni, 5 godzin, 29 minut temu Krzysztof Zmorzyński 55 rozwiń

Reading time ~4 minutes This post is an analysis of a very interesting optimization proposed by Nicholas Frechette in the comments under the previous post. He proposed to use one of the oldest tricks in performance cookbook - divide and conquer. Well, it did not turn out as I expected.Saga Before I go further here are some link to the previous posts on the problem of calculating similarities and then optimizing. This thread grew to a few post. Here are all of them:How I calculate similariti...

Dziel się z innymi:
Dividing a bit in two for performance – IndexOutOfRange

Sztuka programowania 194 dni, 19 godzin, 37 minut temu maklipsa 78 rozwiń

Reading time ~2 minutes This post was inspired by a discussion on Reddit that followed my previous post In this post, I will cover a suggestion by BelowAverageITGuy that cut down the total execution time by almost one hour. Saga Before I go further here are some link to the previous posts on the problem of calculating similarities and then optimizing it grew to few post. Here are all of them:How I calculate similarities in cookit?How to calculate 17 billion similaritiesIndependent code in ...

Dziel się z innymi:
Making bits faster – IndexOutOfRange

Sztuka programowania 206 dni, 3 godziny, 53 minuty temu maklipsa 94 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 222 dni, 4 godziny, 57 minut temu Krzysztof Zmorzyński 145 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 230 dni, 3 godziny, 49 minut temu Krzysztof Zmorzyński 48 rozwiń

Not so long ago, I’ve eventually decided to dive into the world of microservices. I did look for an opportunity to make use of this architectural pattern for quite some time and finally was able to do so. After 3 months of trying out the new things and learning stuff mostly on my own (the hard way) I believe it’s a good time to share some of my experience. I have no doubts that at some point in the future when I look back at this post I might be like – “oh God, what was I thinking back then, it’s so wro...

Dziel się z innymi:
So I’ve been doing microservices | Piotr Gankiewicz

Programowanie rozproszone 229 dni, 5 godzin, 17 minut temu spetz 192 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 235 dni, 3 godziny, 4 minuty temu Krzysztof Zmorzyński 75 rozwiń

Reading time ~6 minutes This post is covering a subset of what I am talking in my talk How I stopped worrying and learned to love parallel processing (currently only in polish). This will cover on how, in terms of performance, AsParallel can kick you in a place where it hurts a lot, simultaneously being a blessing in terms of… performance. How is that? Let’s look at someHistory AsParallel was introduced as an extension to LINQ with TPL in .NET 4.0. In theory, it’s God’s sent. The promise w...

Dziel się z innymi:
[EN] Problems with AsParallel – IndexOutOfRange

Architektura 232 dni, 1 godzinę, 55 minut temu maklipsa 109 rozwiń

...oto jest pytanie! Po długiej przerwie w pisaniu postaram się Wam na nie odpowiedzieć. Co dzieje się w momencie użycia tej metody? Kiedy powinniśmy z niej korzystać, a kiedy możemy to sobie odpuścić? Oczywiście nie będę w stanie przeanalizować każdej możliwej sytuacji, ale mam nadzieję, że po dzisiejszej lekturze będziecie korzystać z tej metody w pełni świadomie.

Źródło: hryniewski.net
Dziel się z innymi:
Hryniewski.NET | ToList(), or not ToList()...

Sztuka programowania 232 dni, 1 godzinę, 55 minut temu Rafał Hryniewski 411 rozwiń

Załóżmy, że stoi przed nami zadanie wykonania aplikacji mobilnej. Klient nalega oczywiście, żeby zrobić to szybko, dobrze i tanio. Jak podejdziemy do tematu? Na rynku dostępnych mamy wiele narzędzi, które można wykorzystać w tym celu. Które wybrać?

Aplikacje mobilne porównanie technologii - PoznajProgramowanie.pl

Mobile development 240 dni, 17 godzin, 28 minut temu AdrianBystrek 308 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

Bazy danych i XML 235 dni, 22 godziny, 22 minuty temu Krzysztof Zmorzyński 22 rozwiń

Szkolenia SecurITum

wrzesień

14.
devConf
Kraków
20.

październik

Zobacz wszystkie

Najaktywniejsi

1

macko (32 816,53)

2

http://pawlos.blo... (31 664,47)

3

pzielinski (27 178,29)

4

gordon_shumway (21 178,87)

5

paduda (20 336,33)

6

psz750 (13 018,14)

7

rroszczyk (10 386,25)

8

Damian (9 096,1)

9

danielplawgo (7 235,99)

10

arek (6 807,95)

11

burczu (6 214,22)

12

PaSkol (5 393,84)

13

lukaszgasior (4 097,38)

14

jj09 (3 643,06)

15

jedmac (3 318,39)

16

http://jakub-flor... (3 224,66)

17

spetz (3 148,28)

18

CaMeL (2 954,87)

19

lkurzyniec (2 669,92)

20

mnikolajuk (2 596,93)