Παρουσίαση με Ετικέτες

HowTo: Use latest C# features in MVC5 Razor views (.cshtml)
16 Απριλίου 19 03:53 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Having recently updated an ASP.net MVC web app from MVC4 to MVC5 and from .NET 4.5 to .NET 4.7.2 I was expecting Razor views (.cshtml files) to use the latest C# compiler, especially since at Properties/Build/Advanced option for the web project one read “C# latest major version (default)”. However that was not the case and […]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: Make Project Linker extension’s VSIX install at Visual Studio 2012
27 Νοεμβρίου 12 10:24 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Project Linker is a Visual Studio Extension that “helps to automatically create and maintain links from a source project to a target project to share code that is common to Silverlight and WPF”. In ClipFlair, where I have shared code between a Silverlight and a WPF project (I guess same would be for XNA projects [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
VB gotcha: when If function isn’t equivalent to an If-Then-Else block
25 Νοεμβρίου 11 01:07 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just got bitten by the following: Dim takeN As Integer = If(Integer.TryParse(EdTake.Text, takeN), takeN, itemsCount) I had used that instead of writing in 2 lines: Dim takeN As Integer If not Integer.TryParse(EdTake.Text, takeN) then takeN = itemsCount However, there’s an important difference: “If” is a function, so its arguments are evaluated at call-time. The “If” [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές