Buscar

Javier Caceres – jacace

Javier's blog about C#, Software Architecture and Design

Summary of the Intel Developer Forum 2015

I was last week in San Francisco attending to the IDF and I must confess that I’m still thinking about all the cool things that I saw. I though in sharing the technical sessions which I enjoyed the most (in no particular order) with you so you can taste what is like an IDF.

  1. Writing Apps for Windows 10 with the Universal Windows Platform (UWP): unless you’re living on a cave, you should have heard by now that UWP is the latest *stack* for all Windows platforms. I liked the slide about Natural User Inputs ( slides | audio ).
  2. Cross-platform Mobile Development with Visual Studio 2015: in this session you will learn how to develop a native cross-platform mobile application (incl. iOS, Android and WIndows) using the latest version of Visual Studio and Intel MPX ( slides | audio ).
  3. Developing Windows Applications for the Inteal Real Sense Camera: learn how to build Natural User Interfaces (gestures, facial recognition, speech and touch less control ) with C# and the Intel Real Sense SDK( slides | audio ).
  4. Contextual Fusion using the Intel Context Sensing SDK: learn how to create cross platform context aware experiences ( slides | audio ).
  5. Windows debugging: if you don’t know what’s a memory dump and how to analyze it then this session is for you ( slides ).
  6. Next generation of Microarchitecture codename Skylake: learn more about the new faster and more efficient microprocessor ( slides | video ).
  7. Emerging Manageability Standards: learn how the Redfish spec / API will help you to manage servers and more( audio ).
  8. Biometric authentication in trusted executed environments: learn about Microsoft hello ( slides ).
  9. Intel IoT Platform: learn about the different components (incl. the IoT Gateway and Analytics Software ) that you can use to build IoT applications ( slides | audio ). There is also an additional session ( slides ) where you can learn how to add NodeJS and HTML5 to the mix.
  10. Intel Keynote day 3: this was the keynote that I enjoyed the most ( video ), particularly in the minute 53:44 where a cancer patient shares his experience about how IoT has helped him to detect and prevent hearth attacks while reducing the poisoning to his body. Also, the keynote of day 2 was cool for gamers ( video ).
  11. Learn how to modernize and improve your code with parallel programming ( slides ).
  12. Introducing the Microsoft Azure Stack: fancy to build your own cloud in your company with Azure? then this session is for you ( slides ).
  13. Last but not least, I would to mention the new open source framework for Big Data Analytics: Intel Discovery Peak. Another nice looking framework is. SparkStreammingSQL designed to bridge the gap between structured data queries and stream processing.

I hope you enjoy the sessions as I did. I also took some pictures of the IDF:

El pase de diapositivas requiere JavaScript.

Also my Intel Black Belt Software Developer award was renewed during this event! I’m so happy about that!. I would like to thank you to all my Black Belt fellows and everyone at Intel who makes this happen, hats off and all my sincere gratitude to Kathy, Russ, Vishwas, Scott, Morris and Christos.

Cheers,

Javier Andrés Cáceres Alvis

Microsoft Most Valuable Professional – MVP

Intel Black Belt Software Developer

Microsoft Ireland Dev Web Camp

Microsoft Ireland Dev Web Camp

Build, Deploy, Scale!

Next Tuesday I will present a couple of sessions about building cutting edge web sites with the new release of ASP.NET and Web Tools for Visual Studio 2015… then deploy and scale them with Windows Azure.

What is a Web Camp?
Web Camps are free, fun, no-fluff events for developers, by developers. You learn from experts in a low-key, interactive way and then you’ll get to apply what you’ve learned.

What am I going to learn?
At this half day Web Camp on the 25th August 2015, you’ll learn how to develop beautiful, interactive and fast web sites using Microsoft’s web tools and platform. You will also learn how to deploy and scale your web sites with the cloud.
You are required to BRING YOUR LAPTOP to do hands On Labs (HOL). You will do HOL at your pace with help from instructors when you need it.

What’s the agenda?
Here’s a snapshot of the topics that will be covered in the sessions and demonstrated with extensive hands on labs.

  1. Building Web Applications using the latest ASP.NET technologies
  2. Building web front ends for both desktop and mobile using the latest web standards
  3. HOL – ASP.NET Web API and Single-Page Applications (SPAs)
  4. API Services and SignalR
  5. OWIN (Open Web Interface for .NET) and Katana
  6. Running, improving and maintaining a site in the real world
  7. HOL – ASP.NET Web Sites in Production
  8. Microsoft Edge (New Browser and What’s new in Windows 10 for Web Devs)

Event Details
Microsoft Ireland, Building 3, Auditorium, Sandyford Industrial Estate, Dublin 18
12:00pm: Registration and buffet lunch
12:30pm: Event Starts

How to prepare in advance?
If you missed the recent live final release event for Visual Studio 2015, you can now watch the keynote on demand to learn about the latest features and technologies.

Register today here.

Meetup page here.

Javier Andrés Cáceres Alvis

Microsoft Most Valuable Professional – MVP

Intel Black Belt Software Developer

What’s new in Visual Studio 2015? – Part I: IDE and C#

Every time that there is a new version of Visual Studio I’m very keen to learn and implement the most relevant features. The problem is that the documentation that I’ve found is too low level (i.e.: lots of details) or too light. So I decided to create a series of posts exploring  all that is new regarding VS, C# and ASP.Net while maintaining the balance between don’t say a thing and don’t say too much.

This new version of Visual Studio includes several new features and improvements. Developers will find plenty of options to develop for iOS, Android and Windows devices. Some of them are described as follows:

  • Xamarin for Visual Studio is the tool to develop/debug native apps for any device.
  • Apache Cordova with Visual Studio is the tool to build (and debug) cross-platform native applications using HTML, CSS, JavaScript and Typescript.
  • Cross-platform native development/debugging via Visual C++.
  • Cross-platform games development with Unity.
  • Universal Windows apps to target different Windows 10 devices (xBox, HoloLens, IoT, etc).
  • New compiler (Roslyn) is faster but more importantly exposes an API to analyse/generate code. Thanks to Roslyn is possible to find issues in your code as you type.
  • Other improvements in the IDE like performance tips (to check the execution time per function – you definitely will notice this new floating window!), a wizard to connect your app to backend services (incl. Azure Mobile Services, Azure Storage, Salesforce and Office 365), new breakpoint settings, graphic diagnostics for DirectX apps, edition history in CodeLens and sign-in with multiple accounts.

Say hello to C# 6!

Do you remember C# v1 back in 2002? Well, developers were presented with new language features version after version and C# 6 isn’t the exception. Off the top of my head the most important changes in C# during all these years were generics (C# 2 VS2005), automatic properties/Linq/lambda expressions (C# 3 VS2008) and async/await (C# 5 VS 2010) among others. Now for C# 6 I’m happy to describe some of the most relevant features as follows:

    • New keyword nameof to get the string name of a variable
    • String interpolation: if a picture is worth of 1000 word, a piece of code might be worth 1000’s pictures (by the way, don’t you think that the name of this feature sounds very pro?)
            // Before
            string twitterHandle = "jacace";
            System.Console.WriteLine(String.Format("My twitter handle is: {0} ", twitterHandle));
            // Now in C# 6.0
            System.Console.WriteLine($"My twitter handle is: {twitterHandle}");

    • Null conditional operator.
    • Collection initializers.
    • Exception filters:
            string str = null;
            try
            {
                Console.WriteLine(str.Length);
            } catch (NullReferenceException e) when (e.Source == nameof(Main))
            {

            }

  • Function member bodies with lambda expressions: in the following image the body of the function GetPersonalBlogUrl is defined as a lambda expression (without a return statement).

vs2015_static

  • Use of static functions as local members: as illustrated in the previous image, a static function from another class can be used locally with the using statement. This saves you two lines of code: one to import the external namespace and another one (or part of it) containing the class name.

Thanks for reading. Please remember that my descriptions and observations don’t cover every single aspect of the new features but what I think I’ll use myself. Next post will cover the .Net Framework 4.6.

Javier Andrés Cáceres Alvis

Microsoft Most Valuable Professional – MVP

Intel Black Belt Software Developer

The system cannot find the file specified using System.Diagnostics.Process.Start #askjacace

Hello dear readers,

Recently one of my colleagues asked me the following question:

When the following line is executed from a Web Application in Visual Studio works alright:

System.Diagnostics.Process.Start(@”[MappedNetworkDrive]:\[Folder]\[FileWithoutExtension]”);

However, when it is invoked in the production server it fails with the following message:

[Win32Exception (0x80004005): The system cannot find the file specified]
   System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) +614
   System.Diagnostics.Process.Start() +56
   System.Diagnostics.Process.Start(ProcessStartInfo startInfo) +49
   System.Diagnostics.Process.Start(String fileName) +31
   Recomat.Tablero.Button1_Click(Object sender, EventArgs e) +10
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

After looking at the code I made my mind and concluded that web applications should not invoke any kind of executable (including: .exe, .bat, ) in that manner. Having that said and IF this application is a simple Proof Of Concept or a throw away work at college then the possible reasons of failure are described below:

(1) The full path is not specified: in this case the problem will be solved by simply adding the file extension (as it occurred to someone else here).

(2) The user account IUSR can’t access the file: in this case simply add read permission to this user account.

Thanks again.

Javier Andrés Cáceres Alvis

Microsoft Most Valuable Professional – MVP

Intel Black Belt Software Developer

Summary of my session about ASP.Net vNext: MVC 6 in Kerry

Hello Everyone,

Last Monday, March 23rd I presented a session about Dependency Injection and REST APIs in the Kerry Technology User Group – Ireland. I’d like to thank you to all assistants and specially to the organizers for making it happen (thanks Pat, Billy, Noel, etc). I couldn’t find a connector (from mini hdmi to VGA) for my computer in the last minute, so I changed the tone of the session from a presentation to a (nearly one to one) discussion, which luckily led us to better interchange of ideas.

The agenda of the session was similar to the presentation I did for the DotNET Spain 2015 but with some updates from the most recent versions of the frameworks. You can see the agenda in the users’ meetup page or in the image below.

ktug_23march2015

Thanks again.

Javier Andrés Cáceres Alvis

Microsoft Most Valuable Professional – MVP

Intel Black Belt Software Developer

Imagine Cup 2015

The Microsoft Image Cup 2015 will take place in Seattle USA, in late July (more information here). This student’s competition has added interesting challenges over the years. One of my favorite ones is the “World Citizenship” challenge and the “Project Blueprint Challenge” which I had the honor to server as a Judge, so I had a first hand view of 11 projects. This competition is about pitching an idea before getting the hands dirty in coding.

I really enjoy this initiative because I was a participant when I was in college and then I became a mentor during the early years of my career. Have a look at the web site and spread the word.

Cheers,

Javier Andrés Cáceres Alvis

Microsoft Most Valuable Professional – MVP

Intel Black Belt Software Developer

My presentation at the Microsoft TUG Dublin on Jan 28

Hello dear readers,

Last Wednesday I presented the MVC deep dive session at the Microsoft Technology User Group in Dublin (remember?). I have some friends that could not make it so I decided to publish the following pictures to share the atmosphere we had in there:

El pase de diapositivas requiere JavaScript.

I also decided to record and make available my presentation in the following video:


The slides that I used are available here.

Cheers,

Javier Andrés Cáceres Alvis

Microsoft Most Valuable Professional – MVP

Intel Black Belt Software Developer

Next .Net event in Dublin – brought to you by Microsoft TUG

mtug_logo

The Microsoft Technology User Group MTUG in Ireland has put together a great session titled “Find out what’s happening with Project K and Deep Dive MVC” for next Wednesday, January 28, 2015 7:00 PM at Microsoft Building 3 in Carmanhall Road, Sandyford Industrial Estate, Dublin.

The session is all about ASP.Next vNext and related topics including:

1) Project k and .Net core.
2) Quick look into commanding MVC.
3) MVC deep dive.

Join and RSVP here: http://www.meetup.com/MTUGD-IE/events/219475033/

The talks will be delivered by Microsoft Most Valuable Professionals Hrvoje Hudo, Philip Bourke and myself so I hope to see you there!

Javier Andrés Cáceres Alvis

Microsoft Most Valuable Professional – MVP

Intel Black Belt Software Developer

One of the best events of 2014 – Intel IDF 2014 in San Francisco

It’s the time of the year when you look back and think about the best experiences of 2014. After thinking for a while I came to the conclusion that the Intel IDF 2014 in San Francisco was one of the best events this year.

The reason why I think like that is because IDF 2014 had a strong focus on IoT and I could experience one of the hobbies of my childhood: play with electronics. I could *build* an alien detector thanks to the Intel Black Belt Developer Program and the Intel Ultimate Maker Space (more info here and here) – check a few pics of my Galileo board in the following gallery:

El pase de diapositivas requiere JavaScript.

I’ll explain in another post how I built the detector using the Galileo board, the Arduino IDE and some sensors. I hope also to write some posts about coding in C++ and booting it using Windows on devices (which is compatible with Galileo Gen 2 by the way, more info here).

Please note that Intel are running IoT roadshows happening around the globe. I’d really enjoy seeing more of these IoT events happening in Dublin and Bogota.

Cheers and happy new year!

Javier Andrés Cáceres Alvis

Microsoft Most Valuable Professional – MVP

Intel Black Belt Software Developer

My presentation about ASP.NET vNext at the Official MTUGD

Hello dear readers,

The official Microsoft Technology User Group in Dublin organized an event for presenting the Microsoft’s open source efforts and to recap and update on the past Connect() event.

The event took place in the Science Gallery in the Trinity College Dublin and around 80 people (out of 140 confirmations) showed up, which is a really good number.

The evening started with an introduction by Niall Moran @niallermoran from Microsoft, then  Andrea Magnorsky @silverspoon presented F# and the different community efforts to make it better. I closed the event talking about ASP.NET vNext.

Finally we had a Q&A slot and we went to O’Neills  in a pure *irish* tradition. There are some pictures of the evening below:

The presentation that I put together for the event is below:

Thanks to the assistants, to the fellow speakers and to Michael Meagher @mmeagher11 and everyone who made this possible.

Cheers,

Javier Andrés Cáceres Alvis

Microsoft Most Valuable Professional – MVP

Intel Black Belt Software Developer

Blog de WordPress.com. | El tema Baskerville.

Subir ↑

Seguir

Recibe cada nueva publicación en tu buzón de correo electrónico.

Únete a otros 336 seguidores