You are here

Feed aggregator

Available now: December 2014 cumulative time zone update for Windows operating systems

MSDN Blogs - Fri, 12/12/2014 - 21:50

Is it December already? That means that holiday treat we know at the December cumulative time zone update for Windows operating systems is out, available as kb 3013410. As noted, this update replaces the previous August 2014 CU 2981580 and includes all the time zone and daylight saving time changes released as hotfixes since then, including the monumental changes we saw in Russia in October. (ICYMI, Se my post from September.)

The following changes were made since the previous Windows cumulative time zone update:

  • Russia time zones: Russia announced that it would change its existing time zones on October 26, 2014. This change included seven updated time zones, three new time zones, and two existing time zones that merged into one.       (http://support.microsoft.com/kb/2998527)     
  • Fiji Standard Time: Fiji announced that the country's new daylight saving time (DST) schedule would start on November 2, 2014 and end on January 18, 2015. The previous DST start date in Windows for the Fiji time zone was October 26.(http://support.microsoft.com/kb/3011843)     
  • Cape Verde Standard Time: We have changed the name of the “Cape Verde Standard Time” time zone to “Cabo Verde Standard Time." The display name for this time zone is now "(GMT-01:00) Cabo Verde Islands."

So what should you do to make sure that your computers are ready for the change?

Most applications and services reference the underlying Windows operating system for their date and time related rules, with some exceptions. We outline the various software updates to select Microsoft products (including various releases of the Microsoft Windows operating systems, Microsoft Office and other applications) on the Microsoft Daylight Saving Time Help and Support Center. There, we have information and links to updates for various products in mainstream and extended support affected by this change, as well as other various changes to DST offsets and time zones around the world.

If you use Microsoft Update on your PC at home, chances are you're already covered. The latest update from October may already be installed on your PC if you have turned on Automatic Update in Windows. This ensures you’ll get the latest security and other important updates from Microsoft automatically. If you’re not sure if the update has been applied, visit the Microsoft Update site for more information.

If someone manages your network at work, it’s likely the needed updates are schedule to be deployed to your computers and devices, if they haven’t been installed already.

For IT professionals managing PCs, servers and Microsoft software installations, please visit http://www.microsoft.com/time for more details. Also, visit the support websites of any other software companies to see if you need to apply any updates. It’s not just Microsoft software that may require updates. Additionally, for the latest change in Russia, we provided specific details and guidance at http://support.microsoft.com/gp/cp_dst/ru.

While Microsoft’s Services infrastructure will be updated to reflect DST changes, it's important that your computers -- both clients and servers that interact with these services -- also have the latest Windows cumulative updates for DST and time zone changes applied in order to ensure data integrity.

As always, thanks to the good folks in Windows and those across the company working to help manage time... particularly the number of daylight saving time and time zone changes that come in from various corners of the world. You can find this and much more documented over at http://www.microsoft.com/time and over on the Windows blog at http://blogs.technet.com/dst2007.

 

[Sample Of Dec. 13] How to intercept JavaScript alert in WebView in universal Windows apps

MSDN Blogs - Fri, 12/12/2014 - 19:32
Dec. 13 Sample : https://code.msdn.microsoft.com//How-to-intercept-854d33da The Windows 8 & 8.1 WebView control will not show JavaScript Alerts that are raised by the webpage inside the WebView. This presents a challenge to application developers when they do not control the content of the website. However, this can be remedied by the use of JavaScript invoked into the WebView. This code sample will show you how to intercept JavaScript alerts in WebView and display...(read more)

Webinar: Translation Trends 2015

MSDN Blogs - Fri, 12/12/2014 - 19:18

Learn what 2015 holds for the future of translation. In this webinar hosted by MemSource, you will hear a summary of 2014 and catch a glimpse of what's in store for 2015. Panelists include Microsoft Translator's Chris Wendt, MemSource CEO David Canek, Torben Dahl Jensen from TextMinded, and Moravia's Jan Hofmeister.

Ask your questions during the webinar, or in advance by posting them to @memsource on Twitter.

Webinar Details:
Wed, Dec 17, 2014 4:00 PM - 5:00 PM GMT
(Wed, Dec 17, 2014 11:00 AM - 12:00 PM EST)

Register now!

Which Microsoft Professional Development course will your school choose?

MSDN Blogs - Fri, 12/12/2014 - 16:26

Looking for some Microsoft focussed professional development from the best ICT Educators in Australia? Need some guidance around ICT integration? Want to inspire your school to use technology in new ways? We have a perfect solution for you.

Microsoft Australian Education team and its Microsoft in Education Master Trainers have put together a list of amazing professional development opportunities for your school in 2015.

From short 3 hours workshops to longer one day and three day courses, there is a huge variety to help:

  • Develop Windows 8 Skills
  • Understand the potential of Apps
  • Work with Office 365
  • Know the power of 21st Century Learning Design
  • Build Peer Coaching skills
  • Understand new ICT focussed pedagogies

Once you’ve been inspired by and discussed the catalogue, contact auspil@microsoft.com to get started.

For NSW Schools, most events are registered with Board of Studies and Teacher Educational Standards. Further information will be provided as necessary.

Known Issues: DirectXMath 3.06

MSDN Blogs - Fri, 12/12/2014 - 15:51

The Windows 8.1 SDK includes DirectXMath version 3.06 for use with Windows Store apps and Win32 desktop applications on Windows 8.x, Windows RT, Windows 7, and Windows Vista. DirectXMath 3.06 is also part of the Windows phone 8.1 SDK for use on Windows phone 8.x. There are a number of minor bugs in the library that have been reported by customers since it was released, which will be addressed in future SDK releases. In the meantime, since the code is all inline in the headers, you can make the fix directly to a local copy as needed or work around the issue in your own code.

BoundingBox::Contains

The triangle/oriented box/frustum in axis-aligned tests often return INTERSECTS when they should return CONTAINS. The fix is in DirectXCollision.inl change XMVector3LengthSq to XMVectorAbs in 3 places for the triangle in axis-aligned box test (lines 1293, 1296, and 1299), once in the oriented box in axis-aligned test (line 1409), and once in the frustum in axis-aligned box test (line 1437).

XMVectorRound

The rounding function works fine unless the number has a magnitude larger than 8388608 (or is a floating-point special) in which case it returns the wrong result. The fix is to put a new version of the function into DirectXMathVector.inl starting on line 2353:

inline XMVECTOR XM_CALLCONV XMVectorRound
(
FXMVECTOR V
)
{
#if defined(_XM_NO_INTRINSICS_)

XMVECTOR vResult = {
Internal::round_to_nearest(V.vector4_f32[0]),
Internal::round_to_nearest(V.vector4_f32[1]),
Internal::round_to_nearest(V.vector4_f32[2]),
Internal::round_to_nearest(V.vector4_f32[3])
};
return vResult;

#elif defined(_XM_ARM_NEON_INTRINSICS_)
uint32x4_t sign = vandq_u32( V, g_XMNegativeZero );
uint32x4_t sMagic = vorrq_u32( g_XMNoFraction, sign );
float32x4_t R1 = vaddq_f32( V, sMagic );
R1 = vsubq_f32( R1, sMagic );
float32x4_t R2 = vabsq_f32( V );
uint32x4_t mask = vcleq_f32( R2, g_XMNoFraction );
XMVECTOR vResult = vbslq_f32( mask, R1, V );
return vResult;
#elif defined(_XM_SSE_INTRINSICS_)
__m128 sign = _mm_and_ps( V, g_XMNegativeZero );
__m128 sMagic = _mm_or_ps( g_XMNoFraction, sign );
__m128 R1 = _mm_add_ps( V, sMagic );
R1 = _mm_sub_ps( R1, sMagic );
__m128 R2 = _mm_and_ps( V, g_XMAbsMask );
__m128 mask = _mm_cmple_ps( R2, g_XMNoFraction );
R2 = _mm_andnot_ps(mask,V);
R1 = _mm_and_ps(R1,mask);
XMVECTOR vResult = _mm_xor_ps(R1, R2);
return vResult;
#endif
}

Thanks to Bruce Dawson for the report and fix. This issue does not affect the SSE4 version of XMVectorRound from this post.

XMVectorATan2, XMVectorATan2Est

This is a really subtle bug with a specific special-case of X == INF, Y is finite < 0. It was returning +0 instead of -0. The fix is in DirectXMathVector.inl on lines 5148 and 5790 change:

R1 = XMVectorSelect( Pi, Zero, XIsPositive );

->

R1 = XMVectorSelect( Pi, g_XMNegativeZero, XIsPositive ); XMStoreFloat3SE

While DirectXMath 3.06 did fix this format, there was still a subtle bug in it. The fix is in DirectXPackedVector.inl line 1771, change:

fi.i &= 0xFF800000; // cut off fraction

->

fi.i += 0x00004000; // round up leaving 9 bits in fraction (including assumed 1)

Related: Known Issues: DirectXMath 3.03, DirectXMath 3.06

Note: Attached are the relevant files with these fixes applied. It requires you use the rest of the library in the Windows 8.1 SDK or the Windows phone 8.1 SDK, and the code is subject to the respective SDK's license agreement.

Webinars gratuitos del equipo de soporte AX en Latam - Diciembre

MSDN Blogs - Fri, 12/12/2014 - 13:31

Que tal comunidad de AX, les hacemos una cordial invitación a nuestros webinars gratuitos de este mes con dos temas de interés. Cualquier problema de conexión o accesos a MPN (MIcrosoft Partner Network) les recomiendo verificarlo con el representante de su empresa con Microsoft.

Theme:

Costing and
  Transfers in AX 2012

Description:

The webinar
  will show how to use the Non-Financial Transfers parameter in AX 2012

Date and time:

December 18th
  , 10:00 AM (Mexico Central Time)

Duration:

1 hour

Presenter/Instructor:

Juan Ponce
  Bernal

Link:

https://training.partner.microsoft.com/learning/app/management/LMS_ActDetails.aspx?UserMode=0&ActivityId=887452

 

Saludos 

Theme:

AX 2012 R3
  & Power View

Description:

Explain
  installation procedure and how to use this feature integrated with Dynamics AX

Date and time:

December 19th,
  11:00 AM (Mexico Central Time)

Duration:

1 hour

Presenter/Instructor:

Marcia Pelaez Gonzalez

Link:

https://training.partner.microsoft.com/learning/app/management/LMS_ActDetails.aspx?UserMode=0&ActivityId=887454

Schema Management - Creating a New Resource

MSDN Blogs - Fri, 12/12/2014 - 11:20
Recommended Understanding : Basic Schema Management Creating a New Attribute - Schema Management - Creating a new attribute Binding a New Attribute - Schema Management - Binding a New Attribute Managing attribute permissions - Schema Management - Setting Permissions to manage new attributes Once you have Become familiar with Basic Schema Management we can begin to build on that understanding with more advanced concepts such as creating a new resource. on the surface it may appear...(read more)

How It Works: sp_server_diagnostics – spinlock backoffs

MSDN Blogs - Fri, 12/12/2014 - 10:55

There are numerous articles outlining how spinlocks work so I won’t cover the details in this post.   Instead, I want to focus on the spinlockbackoffs value recorded in the sp_server_diagnostics output.

Component = System

<system spinlockBackoffs="0" sickSpinlockType="none" sickSpinlockTypeAfterAv="none" …

Querying select * from sys.dm_os_spinlock_stats the backoffs column is presented.   This is NOT the same as the spinlockBackoffs presented in the sp_server_diagnostics output.

A spinlock backoff is only counted in sp_server_diagnostics when the spinlock has been declared SICK.   Sick is the term used to indicate that the code has attempted to acquire the spinlock ownership but after 10,000s of spins and lightweight backoffs, for approx. 5 seconds, ownership could not be acquired.   At the ~5 second point the code performs a more agressive sleep operation because the spinlock appears to be damaged or hung up in some way, or is sick, if you will.

The XEvent spinlock_backoff maps to the dm_os_spinlock_stats, backoff column.

The XEvent spinlock_backoff_warning maps to the sp_server_diagnostics output and is produced when the spinlock is declared sick.

The System component can report ERROR state once the spinlockBackoffs reach a count of 2 or greater for the same sickSpinlockType.  This indicates that for approx., 10 or 15 seconds the spinlock could not acquire ownership, signaling a larger issue on the system.  (Orphaned spinlock, CPU problems, etc…)

Bob Dorr - Principal SQL Server Escalation Engineer

Sample chapter: Manipulating Data Using LINQ

MSDN Blogs - Fri, 12/12/2014 - 10:42

This chapter from Microsoft ADO.NET Entity Framework Step by Step begins by introducing you to LINQ to Entities.The chapter won’t provide an extensive reference, but you’ll have enough information to perform common tasks and a few advanced tasks.

After completing the chapter, you’ll be able to

  • Describe the basics of LINQ to Entities functionality.
  • Specify how LINQ statements are compiled.
  • List and use the essential LINQ to Entities functions.

In most cases, developers with a strong C# background, but without an equally strong database background, use Language Integrated Query (LINQ) to query the databases they create and manage using the Entity Framework. LINQ to Entities offers a number of benefits to developers, but the main benefit is simplicity. It’s possible to create relatively complex queries without knowing much about the underlying database from a DBMS perspective. Developers can also use syntax that’s familiar to make the query, rather than resorting to working with SQL. In addition, the compiler performs part of the work of interacting with the database for the developer, so that the developer can focus on the dataset and not on the language used to access it. In short, the developer gains a considerable efficiency advantage using LINQ to Entities.

This chapter begins by introducing you to LINQ to Entities. You need to know something about how LINQ to Entities works, and you also need to know the syntax so that you can make queries. The chapter won’t provide an extensive reference, but you’ll have enough information to perform common tasks and a few advanced tasks. The point is that you’ll have the information required to get started using LINQ to Entities to perform useful work. The material provided will help you understand the examples better.

Read the complete chapter here: https://www.microsoftpressstore.com/articles/article.aspx?p=2201640.

Application Insights: Exception Telemetry

MSDN Blogs - Fri, 12/12/2014 - 10:10

Application Insights lets you monitor your live application for its availability, performance and usage. Exception telemetry is of course, a central piece of this. In this blog, we’ll look at the compelling diagnostics experience enabled by capturing exceptions along with request telemetry. I’ll also illustrate how you can configure your application so as to make sure you capture all the exceptions for failed requests, in any .NET application (Framework 4.0+). There are some situations where Application Insights can’t automatically capture all the exceptions you might like to see because they are cleared before they get to our HTTPModule. But I’ll show you how to use our SDK to send all the unhandled exceptions, plus any exceptions that are handled in your application but that you’d still like to have reported.

For more information on how to get started with Application Insights and the SDK, please see the following:

Rich diagnostics with exceptions

Capturing exceptions along with request and page-view telemetry is a powerful diagnostic experience, especially since it’s possible to get handled and unhandled exceptions from both client and server.

The good experience starts on the Overview screen, where you can see at a glance when failed requests are correlated with server or browser exceptions, and click through to get a breakdown of specific exceptions:

Drill into any exception to see its occurrences, and then click further to see what requests were affected by it:

Or instead, you can start from a failed request and get to the exceptions associated with it:

From the exception reports you can get a stack listing and see what’s going on. To learn more about reading and searching the exception data, see Diagnostic search in Application Insights.

This is clearly a powerful diagnostic experience, and to start getting it you only have to add Application Insights to your project in Visual Studio, or install Status Monitor on your server. To collect browser-side data, you add a script to your master page, though this is done for you when you create a new web project.

Those tools will get you all the request telemetry and browser exceptions, and some of the server side exceptions. But in many cases, there’s a bit more you have to do to get all the server-side exceptions. It’s slightly different for each technology, and that’s what the rest of this blog is about.

How can I capture Exception Telemetry?

You don’t usually have to load them yourself, but it’s helpful to be aware that the Application Insights tools load the following packages:

The Application Insights HTTPModule captures server side Request telemetry, and it also captures any unhandled exceptions when the HTTPResponse has status code 400 and above. Unfortunately, in most project types and depending on the CustomErrors configuration, the exception information might have been cleared lower in the stack, so that our HTTPModule doesn’t see it. But you can fix this so that all unhandled exceptions are reported. You just have to write a few lines of code using the TrackException API. (You can of course use the same API to send data from your own exception handlers.) We will go over how you can collect unhandled exceptions for the following application types in the sections below.

  • MVC
  • Web API 1.x
  • Web API 2.x
  • WCF
  • Web Forms/Web Pages
MVC

If the CustomErrors configuration is Off, then exceptions will be available for the HTTPModule to collect. However, if it is RemoteOnly (default), or On – then the exception will be cleared and not available for us to automatically collect. You can fix that by overriding the System.web.mvc.HandleErrorAttribute class, and applying the overridden class as shown for the different MVC versions below (github source):

using System;
using System.Web.Mvc;
using Microsoft.ApplicationInsights;

namespace MVC2App.Controllers
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
public class AiHandleErrorAttribute : HandleErrorAttribute
{
public override void OnException(ExceptionContext filterContext)
{
if (filterContext != null && filterContext.HttpContext != null && filterContext.Exception != null)
{
//If customError is Off, then AI HTTPModule will report the exception
if (filterContext.HttpContext.IsCustomErrorEnabled)
{
var ai = new TelemetryClient();
ai.TrackException(filterContext.Exception);
}
}
base.OnException(filterContext);
}
}
}  MVC 2: Replace HandleError attribute with the overridden attribute in your controllers as shown below (github source).

  • A sample MVC2 application wired up for exception collection is available here
MVC 3: Register AiHandleErrorAttribute as a global filter in Global.asax.cs as shown below (github source)

  • A sample MVC3 application wired up for exception collection is available here
MVC 4/5: Register AiHandleErrorAttribute as a global filter in FilterConfig.cs as shown below (github source)

  • A sample MVC5 application wired up for exception collection is available here

 

Web API 1.x using System.Web.Http.Filters;
using Microsoft.ApplicationInsights;

namespace WebAPI.App_Start
{
public class AiExceptionFilterAttribute : ExceptionFilterAttribute
{
public override void OnException(HttpActionExecutedContext actionExecutedContext)
{
if (actionExecutedContext != null && actionExecutedContext.Exception != null)
{
var ai = new TelemetryClient();
ai.TrackException(actionExecutedContext.Exception);
}
base.OnException(actionExecutedContext);
}
}

}
  • You could add this overridden attribute to specific controllers, or add it to the global filter configuration in the WebApiConfig class as shown below (github source):
using System.Web.Http;
using WebApi1.x.App_Start;

namespace WebApi1.x
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{id}",
defaults: new { id = RouteParameter.Optional }
);

// Uncomment the following line of code to enable query support for actions with an IQueryable or IQueryable<T> return type.
// To avoid processing unexpected or malicious queries, use the validation settings on QueryableAttribute to validate incoming queries.
// For more information, visit http://go.microsoft.com/fwlink/?LinkId=279712.
//config.EnableQuerySupport();

// To disable tracing in your application, please comment out or remove the following line of code
// For more information, refer to: http://www.asp.net/web-api
config.EnableSystemDiagnosticsTracing();
config.Filters.Add(new AiExceptionFilterAttribute());
}
}
}
  • A sample Web API 1.x application wired up for exception collection is available here
  • Note: There are a number of cases that exception filters cannot handle. For example:
    • Exceptions thrown from controller constructors.
    • Exceptions thrown from message handlers.
    • Exceptions thrown during routing.
    • Exceptions thrown during response content serialization.
  Web API 2.x
  • Note that the CustomErrors configuration only influences the exceptions from MVC controllers. To capture exceptions from MVC controllers see the section on MVC above.
  • To capture unhandled exceptions from Web API 2.x controllers, pick any one of 3 options:
    1. Add an implementation of IExceptionLogger: we recommend this approach as it is guaranteed to be called
    2. Replace the only ExceptionHandler with a custom implementation of IExceptionHandler. This is only called when the framework is still able to choose which response message to send (not when the connection is aborted for instance)
    3. Exception Filters (as described in the section on Web API 1.x controllers above)

Option 1 (Recommended): Implement System.Web.Http.ExceptionHandling.IExceptionLogger (github source)

using System.Web.Http.ExceptionHandling;
using Microsoft.ApplicationInsights;

namespace ProductsAppPureWebAPI.App_Start
{
public class AiExceptionLogger : ExceptionLogger
{
public override void Log(ExceptionLoggerContext context)
{
if (context !=null && context.Exception != null)
{
var ai = new TelemetryClient();
ai.TrackException(context.Exception);
}
base.Log(context);
}
}
}
  • Add this to the services, in the WebApiConfig class as shown below:
using System.Web.Http;
using System.Web.Http.ExceptionHandling;
using ProductsAppPureWebAPI.App_Start;

namespace WebApi2WithMVC
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services

// Web API routes
config.MapHttpAttributeRoutes();

config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{id}",
defaults: new { id = RouteParameter.Optional }
);
config.Services.Add(typeof(IExceptionLogger), new AiExceptionLogger());
}
}
}

Option 2: Implement/Add to an existing implementation of System.Web.Http.ExceptionHandling.IExceptionHandler (github source)

  • Note: Only 1 ExceptionHandler can be registered. If you are using an existing handler, add to it, or extend it
using System.Web.Http.ExceptionHandling;
using Microsoft.ApplicationInsights;

namespace ProductsAppPureWebAPI.App_Start
{
public class AiExceptionHandler : ExceptionHandler
{
public override void Handle(ExceptionHandlerContext context)
{
if (context != null && context.Exception != null)
{
var ai = new TelemetryClient();
ai.TrackException(context.Exception);
}
base.Handle(context);
}
}
}
  • Replace the ExceptionHandler registered in WebApiConfig class (github source)

  • A sample Web API 2.x application wired up for exception collection is available here 

WCF
  • Add a class that extends Attribute and implements IErrorHandler and IServiceBehavior as shown below (github source)
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Description;
using System.ServiceModel.Dispatcher;
using System.Web;
using Microsoft.ApplicationInsights;

namespace WcfService4.ErrorHandling
{
public class AiLogExceptionAttribute : Attribute, IErrorHandler, IServiceBehavior
{
public void AddBindingParameters(ServiceDescription serviceDescription,
System.ServiceModel.ServiceHostBase serviceHostBase,
System.Collections.ObjectModel.Collection<ServiceEndpoint> endpoints,
System.ServiceModel.Channels.BindingParameterCollection bindingParameters)
{
}

public void ApplyDispatchBehavior(ServiceDescription serviceDescription,
System.ServiceModel.ServiceHostBase serviceHostBase)
{
foreach (ChannelDispatcher disp in serviceHostBase.ChannelDispatchers)
{
disp.ErrorHandlers.Add(this);
}
}

public void Validate(ServiceDescription serviceDescription,
System.ServiceModel.ServiceHostBase serviceHostBase)
{
}

bool IErrorHandler.HandleError(Exception error)
{
var ai = new TelemetryClient();
ai.TrackException(error);
return false;
}

void IErrorHandler.ProvideFault(Exception error,
System.ServiceModel.Channels.MessageVersion version,
ref System.ServiceModel.Channels.Message fault)
{
}
}
}
  • Add the attribute to the service implementations as shown below:

  • A sample WCF application wired up for exception collection is available here

Web Forms/Web Pages
  • For Web forms/pages, the HTTPModule will be able to collect the Exceptions when there are no redirects configured with CustomErrors
  • If you have eligible redirects, then for Web Forms – add the following lines to the Application_Error function in Global.asax.cs:
void Application_Error(object sender, EventArgs e)
{
if (HttpContext.Current.IsCustomErrorEnabled && Server.GetLastError() != null)
{
var ai = new TelemetryClient();
ai.TrackException(Server.GetLastError());
}

}
  • For Web sites, add a Global.asax file (if you don’t already have one), and add the same lines of code as above for Web Forms into the Application_Error function.
Summary

As this article shows for different project types, a few lines of code can collect all unhandled, and specific handled exceptions (applications with Framework 4.0+) to complement the other Application Insights telemetry. This enables some compelling diagnostics scenarios. We are working on continually improving our automatic telemetry collection and enriching the SDK surface area to give you the necessary controls as well. Please give this a run! Looking forward to your feedback to help us improve and be effective in keeping your applications available, performing and successful with your users!

SPSCC Student Films Get First Showcase Event

SPSCC Posts & Announcements - Fri, 12/12/2014 - 09:28

South Puget Sound Community College film students are ready for their close-ups – and they’ll get them on Dec. 16 at the first Student Short-Film Showcase.

The showcase will take place on Tuesday, Dec. 16 at 7 p.m. at the Kenneth J. Minnaert Center for the Arts Main Stage, and features eight short films written, directed and produced by SPSCC Introduction to Film Production students. The event is free and open to the public.

“It’s a really exciting event for us all,” instructor Riley Gibson said, mentioning that of the 16 students in the class, only a few had previous experience in film-making. “So far, I’ve been impressed with the overall quality of the final products, and I think anyone who attends the screening will be blown away by what many of these young, first-time filmmakers have created.”

Gibson also said the films feature several area locations, many of whom also were film sponsors, including South Bay Pub and Eatery, Method Coffee Bar, Forever Knights Gaming, and others.

Student Alyecia Higgins said the event is the culmination of months of partnerships. “The community really came together to support our efforts,” she said.

Umfrage: Informationsbedürfnisse für Ihren beruflichen Erfolg in der Softwareentwicklung

MSDN Blogs - Fri, 12/12/2014 - 08:25

Als Technical Evangelist ist es mir natürlich ein Anliegen, Informationen zu Microsoft Technologien möglichst effizient über die verschiedensten Kanäle (Blogs, Videos, Webcasts, Whitepaper etc.) zu verbreiten. Deshalb ist es mir ein großes Anliegen, eine Initiative des MSDN Teams der Microsoft Deutschland zu unterstützen:

Eine Umfrage zum Thema “Informationsbedürfnisse für Ihren beruflichen Erfolg in der Softwareentwicklung”.

In dieser Umfrage soll ermittelt werden, welche Themen Entwickler über welche Kanäle am liebsten konsumieren. Die Umfrage ist in 5-10 Minuten ausgefüllt und hilft dabei, die Angebote, Leistungen sowie Ressourcen für Entwickler zu optimieren und noch genauer auf die spezifischen Bedürfnisse einzugehen.

Hier geht es zur Umfrage: http://aka.ms/Entwickler-Umfrage.

Die Frage ist leicht geschaltet es spätestens 31.12. oder bis eine repräsentative Anzahl an Teilnehmern erreicht ist.

Dabei werden unter anderem folgende Informationen erhoben:

  • Welche Medien nutzen Sie für welche Art von Inhalten (Nachrichten & News, Informationen, Weiterbildung & Trainings)?
  • Wie viel Zeit verwenden Sie darauf?
  • Welche Technologien sind im Fokus (aktuell, künftig)?

Durchgeführt wird die Umfrage im Auftrag von Microsoft Deutschland, von der techconsult GmbH aus Kassel. Die Umfrage wird vollständig anonym ausgewertet (eine Angabe von Namen oder Firmennamen, E-Mail-Adresse etc. ist gar nicht möglich). techconsult verbürgt sich und garantiert dafür, „dass keine Daten aus dieser Untersuchung weitergegeben werden, die Ihre Person oder Ihr Unternehmen erkennen lassen“.

Microsoft und das Team von MSDN, dem Microsoft Developer Network aus Deutschland, danken Ihnen schon jetzt für Ihre Hilfe & Unterstützung sowie Teilnahme an der Umfrage.

Debug JNI Android Applications using Visual C++ Cross-Platform Mobile

MSDN Blogs - Fri, 12/12/2014 - 08:22
With Visual Studio 2015 preview (download here) we have introduced the ability for developers to create cross-platform mobile applications with Visual C++. For the Android platform specifically this enablement includes ability for developers to create native-activity applications, dynamic and static native binaries along with a range of features to provide a fast, lean and mean edit->build->debug cycle. This blog in particular is to provide a walkthrough on how Visual Studio can be used to...(read more)

Live Webinar: Leverage Microsoft Azure for Next-Gen App Development

MSDN Blogs - Fri, 12/12/2014 - 08:12

Please check out this upcoming webinar!

When:   Starts: December 18, 2014 10:00 AM-11:00 AM
Time Zone:    (GMT-08:00) Pacific Time (US & Canada); Tijuana
Welcome Time:   09:55 AM

Registration: Click Here

Vineet Arora, Chief Technology Officer, has over 20 years’ experience in the IT Industry. Vineet is Microsoft Azure – certified Architect and Microsoft’s virtual Technical Specialist (vTSP), helping Microsoft technical sales team as a part of the managed partner program. 

 

Are you looking for developing powerful applications on Cloud? Is creating highly-available, infinitely-scalable, mobile-enabled applications in a short time frame and limited budget a challenge for you? Join our webinar session to learn how you can do it easily by leveraging Microsoft Azure and how it fits into Application development lifecycle for any developer using Microsoft technology stack.

 

The session will discuss the following in detail:

  • Azure-based Application Development Lifecycle: An Introduction
  • Challenges during Plan-Build-Operate lifecycle
  • Windows Azure Environment Concepts
  • Build and Deployment Overview
  • Deployment: Cloud vs. Web Deployment vs. SQL Azure Deployment
  • Azure Platform Management Tool: Demo

 

Who should attend?

  • Developers building multi-platform applications (mobile Services, websites, Developer Services)
  • Architects thinking about the next generation of applications (Cloud Services)
  • DevOps and IT Pros who host and configure environments for Development and QA (Management, automation, Compute and Storage)

 

CHANCE TO WIN A $350 Gift Card – WINNER DRAWN AT THE END OF THE WEBINAR**

**No Purchase Necessary. Open only to webinar attendees. Game ends 12/18/2014. Email nina.sui@microsoft.com  for full Official Rules.

 

REGISTER HERE

Azure Cloud Gaming Conference 19th Jan London 2015 FREE Register Now

MSDN Blogs - Fri, 12/12/2014 - 08:11

Join us for a full day conference on the Cloud

There’s a new trend in gaming called cloud gaming. What’s cloud gaming all about? Think of the cloud. Now, thing of gaming.
During the day we will discuss the true opportunity of Cloud Gaming : Simplicity for the world of multi-platform, multi-game, multi-player, multi-device development.


The goal if cloud games is to provide gamers with the ultimate gaming experience and we will outline some of the best practice from across UK indies, Studios and research.

The UK is a hotbed for great games innovation, and Microsoft is committed to helping start-ups and independent games developers accelerate their route to market.

During the day we will share with you guidance on cloud services, developer tools, and support and prove that we are making it easier than ever for game developers to quickly grow their businesses. Building games with the cloud can help them quickly scale their reach across platforms, tap into the massive computing power of the cloud on demand, and immediately gain global reach without having to invest in building their own costly infrastructure.

Microsoft will share details of the $1.2 M innovation fund which enables iOS, Android, Windows, Xbox game developers to benefit from cloud computing, so would you be interested in getting 3 month Microsoft Azure Cloud for up to 20 cores free for up to $100 usage per month. Independent game developers across the UK can apply to receive substantial benefits from the fund including free cloud services from Microsoft Azure, Visual Studio development tools, other software, plus access to Microsoft's Technology Advisory team to support indie game studio development.

Register for this FREE event here https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032609327&Culture=en-GB&community=0

Error when browsing a custom service hosted as IIS web service: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

MSDN Blogs - Fri, 12/12/2014 - 07:47
Title: Error when browsing a custom service hosted as IIS web service - An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) Scenario:

You are using Microsoft Dynamics AX 2012
You have created several Custom Services that you can deploy using NetTcp successfully and consume the WSDL in your client applications without any errors.

You can deploy the same Custom Services in an enhanced port, using the HTTP adapter (to host as IIS Web Services).
However when you try and browse to the service you get an error similar to the below:

Server Error in '/MicrosoftDynamicsAXAif60' Application.
--------------------------------------------------------------------------------
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
Stack Trace:

[BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)]
   System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) +0
   System.Reflection.RuntimeMethodInfo.get_Signature() +82
   System.Reflection.RuntimeMethodInfo.GetParameters() +38
   System.Runtime.Serialization.ClassDataContractCriticalHelper.EnsureMethodsImported() +189
   System.Runtime.Serialization.DataContractCriticalHelper.CreateDataContract(Int32 id, RuntimeTypeHandle typeHandle, Type type) +786
   System.Runtime.Serialization.DataContractCriticalHelper.GetDataContractSkipValidation(Int32 id, RuntimeTypeHandle typeHandle, Type type) +117
   System.Runtime.Serialization.XsdDataContractExporter.GetSchemaTypeName(Type type) +85
   System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter..ctor(OperationDescription description, DataContractFormatAttribute dataContractFormatAttribute, DataContractSerializerOperationBehavior serializerFactory) +413
   System.ServiceModel.Description.DataContractSerializerOperationBehavior.GetFormatter(OperationDescription operation, Boolean& formatRequest, Boolean& formatReply, Boolean isProxy) +308
   System.ServiceModel.Description.DataContractSerializerOperationBehavior.System.ServiceModel.Description.IOperationBehavior.ApplyDispatchBehavior(OperationDescription description, DispatchOperation dispatch) +69
   System.ServiceModel.Description.DispatcherBuilder.BindOperations(ContractDescription contract, ClientRuntime proxy, DispatchRuntime dispatch) +120
   System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost) +4122
   System.ServiceModel.ServiceHostBase.InitializeRuntime() +90
   System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) +182
   System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +742
   System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +126
   System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +901
[ServiceActivationException: The service '/MicrosoftDynamicsAXAif60/<your custom service name>/xppservice.svc' cannot be activated due to an exception during compilation.  The exception message is: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B).]
   System.Runtime.AsyncResult.End(IAsyncResult result) +650220
   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +210733
   System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +166
 

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18055

 

Possible Causes: Cause 1:

One possible reason can be that the Custom Services Data contract classes contain other methods referencing types that are not part of the service/data contract.  Data contract classes should only have parm methods that are the data members. So when deploying the service to IIS, the modules containing these other types are not included and the types do not load. 

When generating service classes, we only parse the public service and data contracts.  We expect that data contracts are just containers for passing data around and do not have a dependency on non-service contract types.  When deploying to IIS, we only copy the types that are part of the contract.  This has always been the design for using data contracts in Services and AIF. 

 

Resolution:
To resolve this, re-view your service contracts and refactor the code and remove all parm methods from data contracts that are not data members, and redeploy the service to IIS again.

 

More information:
The reason why we don't experience the same behaviour when consuming the Custom Services over  NetTcp is that NetTcp is hosted on the AOS where all data types and NetModules are available and it manages to resolve the other data types. The real solution is to ensure that Data contract classes only have parm methods that are the data members. Further info on using Data Contracts in X++ can be found at http://technet.microsoft.com/library/gg848068.aspx

 

Cause 2:

Assuming the data contract services are all valid, and you are running Microsoft Dynamics AX 2012 R2 with application build 6.2.1000.4051 (CU-7), then review and/or test with Application hotfix KB2934017

Get $300 of Azure for 3 Months for FREE to build your cloud backend

MSDN Blogs - Fri, 12/12/2014 - 07:05

The UK is a hotbed for great games innovation, and Microsoft is committed to helping start-ups and independent games developers accelerate their route to market.  By offering free cloud services, developer tools, and support from our team, we are making it easier than ever for game developers to quickly grow their businesses.  Building games with the cloud can help them quickly scale their reach across platforms, tap into the massive computing power of the cloud on demand, and immediately gain global reach without having to invest in building their own costly infrastructure.

So would you..

Be interested in getting 3 month Microsoft Azure Cloud for up to 20 cores free for up to $100 usage per month.

Free game data storage and $1.2 M innovation fund enables iOS, Android, Windows, Xbox game developers to benefit from cloud computing

Independent game developers across the UK can apply to receive substantial benefits from the fund including free cloud services from Microsoft Azure, Visual Studio development tools, other software, plus access to Microsoft's Technology Advisory team to support indie game studio development.

If Yes?

Register here http://aka.ms/gamedevoffer

Detecting whether a SID is well-known SID

MSDN Blogs - Fri, 12/12/2014 - 07:00

You might think that the Is­Well­Known­Sid function would tell you whether a SID is well-known, but it doesn't. Rather, it tells you whether a SID exactly matches the well-known SID you specified. For example, you can ask, "Is this the Authenticated Users SID?" or "Is this the Everyone SID?" But you can't ask, "Is this any type of well-known SID?"

I guess you could enumerate through all the well-known SIDs, and check if your SID matches any of them, but that's getting kind of ugly.

If what you're interested in is whether this is a machine-relative SID (or a domain-relative SID, which is the special case where the machine is the domain controller), as opposed to a universal SID, you can check whether the SID format is S-1-5-21-#-#-#-#. All machine-relative SIDs have that form.

#define SECURITY_NT_NON_UNIQUE (0x00000015L) // decimal 21 #define SECURITY_NT_NON_UNIQUE_SUB_AUTH_COUNT (3L)

If you want to exclude machine\Administrator and other predefined machine-relative SIDs, you can verify that the last number (the RID) is greater than or equal to 1000.

#define SECURITY_OTHER_ORGANIZATION_RID (0x000003E8L)

Take the Cloud Hero Challenge & win a Surface pro 3

MSDN Blogs - Fri, 12/12/2014 - 06:40

Take the Cloud Hero Challenge today!

Want to save time and money by offloading developer and IT administration tasks to the cloud? Take part in the Cloud Hero Challenge, submit your entry by Friday 19 December 2014 and win an exclusive t-shirt. Just complete ONE of the challenges listed below and submit your Azure Subscription ID & web URL in the entry form by Friday 19 December 2014, then you will get a free t-shirt sent to you.

  1. Set up a virtual machine in less than 10 min

  2. Provision a develop & test workstation with Visual Studio in less than 10 min

  3. Provision a highly available, scalable website in less than 1 hour

Your free t-shirt will be sent to you when you’ve submitted your entry and it is as simple as that.

If you are keen and fancy a chance Surface Pro 3, a weekend holiday getaway or an XBOX ONE console, then take a step further and share your experience in participating in the challenge. Share in no more than 500 words your experience and you will get the chance to win either a Surface Pro 3, a weekend holiday getaway or an XBOX ONE console.

Tell us about your experience by 24th December for a chance to win* a great prize and to be featured as “Cloud Hero” of the month.

Ready to go? Click here to get started & good luck!

Low cost devices for students – The HP Stream 14

MSDN Blogs - Fri, 12/12/2014 - 06:30

Buying a device that has all the functionality and performance of a laptop or computer doesn't need to mean spending a vast sum of money. As manufacturing costs come down and the cloud handles more and more of the storage and operating requirements, parents and teachers are able to pick up machines that are perfect for students and classrooms at incredibly affordable prices. Let’s take a look on one such device.

The HP Stream 14

The first thing that strikes you about the HP Stream 14 is the thinner, lighter aesthetic. Owing to the innovative fanless design and flash memory, this machine is built for cloud computing on-the-go, but still has a full-size island-style keyboard and HP Imagepad with multi-touch gesture support. The HP Stream 14 also offers a 14-inch HD display, 2 GB of RAM and 32 GB of storage space. In terms of what’s going on inside, you’ll find an APU AMD A4 Micro-generation 6400T Mullins, with quad-core processor 1 GHz and integrated graphics Radeon R3.

By way of external inputs, the HP Stream 14 has:

  • HDMI,
  • Headphone/microphone combo
  • USB 2.0 (x2)
  • USB 3.0
  • 1 multi-format SD media card reader

Now, the 32 GB on board storage may not sound like that much to some people. However, Office 365 now comes with unlimited OneDrive storage. And when you take into account the fact that all students are eligible for a complimentary copy of Office 365 thanks to the Microsoft Pro Plus Benefit for Students and Teachers, then anyone looking at this device as something that can used in education will realise that the on board storage is no longer a limiting factor.

What the reduced on board storage does mean though, is that the device itself can be physically more compact, lighter, and crucially for students – cost less.

Of course as well as working, every student enjoys their downtime, and the HP Stream comes fitted with BeatsAudio™ and quad speakers, designed for the best-sounding, richest audio on a PC, and with unlimited OneDrive storage for Office 365 users, you can keep all your music in the cloud and access it wherever you are.

So if you are looking for a Windows machine capable of running the full Office suite, and at a price that students and classrooms can afford, then the HP Stream is definitely an option worth considering.

Full spec and more information can be found on HP’s own website.

Pages

Subscribe to Randy Riness @ SPSCC aggregator
Drupal 7 Appliance - Powered by TurnKey Linux