You are here

Feed aggregator

Microsoft Launches App To Cert Program

MSDN Blogs - 5 hours 3 min ago

Build apps and build your career.

We recognise that you have real world experience in building apps, and hard decisions on how to spend your limited time and money for training and certification. 

So, why not simplify your life and get credit for those apps you’re building?

The App To Cert pilot program is available now through the end of June 2015. Elevate yourself as a Microsoft Certified Solutions Developer (MCSD: Windows Store Apps certification) by getting certified through a streamlined path. If you are a HTML5/JS or C#/XAML developer, you can save hundreds of dollars and get credit for two exams by showing the app development work you are already doing.

Along the way, the app review will provide you with tips on app design and implementation, and address common pitfalls and blockers to getting apps into the Windows Store.

Earning developer certification is as simple as 1-2-3:

1. Schedule and pass a technical review of your application by a Microsoft engineer

2. Publish or update your application in the Windows Store

3. Prepare for, take and pass a single Advanced Windows Store App technical certification exam.  Microsoft Learning Partners can provide you high quality instructor-led training to help you cross the finish line.

To learn more about the program:

Finally, once Windows Store app submission is complete, consider signing up for Advanced Windows Store App instructor-led training on HTML5/JS or C#/XAML.

The First Days of the New .NET

MSDN Blogs - 6 hours 55 min ago

I’m personally really excited by what is going on (after the announcements at Connect(); on November 12). I believe that open sourcing .NET will enable more innovation from outside the Microsoft walls. Looking at the Visual Studio’s UserVoice page, we can see that people are asking for a lot of things from reviving a deprecated platform or technology to adding complex new features to .NET and Visual Studio. Right now the only thing we can do about it is to ask and wait for the Microsoft Dev Teams to work on it.

The more a product is open (by being open sourced), the more likely it is that a group of people could decide to implement a missing feature, or fix bugs. If some people really want a new version of Silverlight they could clone the repository and do it themselves (if Microsoft where to eventually release that code).

Resources in teams at Microsoft are limited so I believe they should really concentrate on building a solid foundation and the low level infrastructure of .NET, tools, and frameworks. Let the community help with the ecosystem around it, let them contribute to completing the tooling and integration. To see what I mean just take a look at what Xamarin did with Mono.

I know all this will take time but I believe that in a few years, even LOB (Line of Business) Enterprise developers will see the benefits of the new Microsoft we’ve been seening in recent years. I’m not sure if the naysayers will start to use .NET on Linux, but I bet it will get harder for them to complain. For me, I’ve used C# and .NET for the last 13 years and I’m looking forward to using it for at least another 20 years.

Take a look at all the links I’ve gathered below and comment below if I’ve missed anything. Enjoy!

Announcements Overviews Videos Opinions and comments Official Links

使用SCOM 2012 R2监控Windows Azure 系列(二)使用Azure管理包

MSDN Blogs - 7 hours 42 min ago

在前面一篇博客里(http://blogs.msdn.com/b/chshen/archive/2014/10/29/scom-2012-r2-windows-azure.aspx)介绍了如何安装和配置Azure管理包,现在我们要介绍如何使用Azure管理包。

在SCOM的Operation Console从左边的向导中选择 “创作” 并点击 “管理包模板”:

 

 


右击 “管理包模板” 并选择“添加监视向导(M)…”:

 

 

 

当添加监视向导对话框打开是选择 “Windows Azure Monitoring” 并选择 “下一步(N) >”:

 

 这时候你有两个选择:使用已有的管理包或建立新的管理包. 你可以参考一下的管理包使用指南:

    

Management packs can be sealed or unsealed. A sealed management pack cannot be modified directly. Any changes to the workflows in the sealed management pack, such as an override for a monitor, must be saved to an unsealed management pack. The unsealed management pack references the sealed management pack that it modifies.

   

It's good practice not to use the management packs that are installed with Operations Manager to save any settings that you change or elements that you create. When you have to select a destination management pack, always select a management pack that you create.

 

我会建立一个新的管理包作为目标管理包

 在添加监视向导对话框中输入名称和描述并选择 “新建(W)…”:

 

 

输入名称,版本,描述并选择 “下一步 (N)>”:

 

 

如果你愿意的话可以添加知识文章, 我会略过这步并选择 “创建(R)”:

 

 

当目标管理包建好后,你就可以回到添加监视向导对话框并继续创建 Windows Azure monitor. 确认新建的目标管理包在下拉框中被选上并选择 “下一步(N) >”:

 

 

在Subscription 对话框中选择你想监控的Windows Azure subscription 并选择“下一步(N) >”:

 

 

在下面的几个对话框中你将可以选择你想监控的Azure 云服务, 虚拟机和存储。 选择 “添加…”增加云服务:

 

 

以下的对话框将会打开。这时你可以选择根据名字和部署类型 (Staging 或 Production)来过滤云服务。选择你想监控的云服务点击“添加”并点击 “确认”.

 

 

这时候会回到添加监视向导并会看到你选择的云服务, 选择 “下一步 (N)>”:

 

 这时候你可以选择你要监控的虚拟机. 点击“搜索” 选择你要监控的虚拟机, 点击“添加”, 并点击 “确认”:

 

 

点击 “下一步(N) >”:

 

选择要监控的存储点击“添加”,并点击 “确认”:

 

s

 

点击”下一步(N)>"

 

 

点击 “创建”:

 

 当添加监视向导对话框关闭时你会回到Operations Manager console 并可以看到你新建的Azure 监控:

 

  

使用这些监控

 好,我们现在已经建好了Azure监控,现在让我们来看一些监控数据

在你建立完Azure监控后应该在监控的栏目里有个文件夹的名字是你新建的目标管理包,我建立的名字是叫 “Windows Azure Destination Management Pack”.

 右击这个文件夹,选择“新建(N)" 会发现有很多不同类型的视图可以创建

 

下面用两种视图做为例子:

 

状态视图

 

右击目标管理包文件夹,点击”新增(N)"并点击 “状态视图”:

 

 当状态视图的属性对话框打开时,输入名称,描述,并点击“..."。另外一个窗口会打开,选择”查看所有目标(A)"并查找 "Azure"。选择名字为“Windows Azure Hosted Service”, 点击”确认

 

  

现在我们要选择组里的数据. 点击"显示包含特定组中的数据” 的"..."。 当选择对象对话框弹出时,输入“azure"查找并选择 “All Azure Monitored Resources”:

 

 


点击 “确认”:

 

 


当状态视图建好后,你可以点击它查看 Azure实例的状态:

 

 

 

Diagram View

 右击管理包文件夹, 点击 “新建(N)” 并点击 “图示视图(D)”:

 

 
添加名称,点击“浏览”, 用 “azure”过滤, 然后点击 “查找”, 并选择 “All Azure Monitored Resources”, 点击 “添加”, 然后点击 “确认”回到创建图示视图对话框:

 

 

 

用缺省的设置建立一个新的模板并点击 “创建”:

 

 

以下是我建立的图示视图::

 

 

 恭喜你,你已经建立好Azure的监控了,以后你都可以用SCOM来监控Azure了。

High Growth Small Businesses: Great and Small

MSDN Blogs - 8 hours 35 min ago

We’ve long felt that small businesses are vital to the UK economy. The Centre for Economics and Business Research (CEBR) shares that view. It’s produced a new report that highlights the significant contribution of Britain’s fastest growing small businesses – and some of its statistics might surprise you.

According to the report, High Growth Small Businesses (HGSBs) represent just 1% of all UK businesses yet generate 36% of UK economic growth and 68% of employment growth.

That’s nearly 5,000 new jobs a week from 2012 to 2013! 

What is a HGSB?

The report defines HGSBs as companies with an annual turnover between £1 million and £20 million and with an annual growth greater than 20% over a three-year period. So, it’s a pretty small subsection of the business community. The report estimates that there were around 30,000 HGSBs in the UK in 2013.

But there are lessons all businesses can learn from the astronomic growth of HGSBs…

What is the secret to HGSB success?

The report includes the results of a survey of 400 HGSBs. When asked about the factors driving their business growth, 57% said that upgrading technology played a role, 40% said online expansion and 35% said use of social media.

72% said that better customer service helped them grow their business. 

Free event: How to Connect with Customers

Connecting with customers is the topic of our next SMB Mini Summit event on December 1st.

Small business owners are invited to join guest speakers from GoDaddy and Enterprise Nation to discuss issues of customer service, sales and marketing at Microsoft Offices in London Victoria.

The event is free and includes a chance to network with other small business owners, get expert advice and guidance – plus free coffee and lunch!

Find out more and register your place now

Issues with Blogs 11/27 - Mitigated

MSDN Blogs - 9 hours 22 min ago

Final Update 11/27 07:55 AM PST

Issue was Identified and now resolved and customer impact is mitigated.

We sincerely apologize for the inconvinience and thank you for the patience

-MSDN Service Delivery Team

--------------------------------------------------------------------

Initial Update: 11/27 07:25 AM PST

We are currently experiencing issues with blogs .The blog posts are not rendering properly,

SD are engaged and actively investigating to mitigate the issue.

We apologize for the inconvenience and appreciate your patience.

-MSDN Service Delivery Team

Some light reading on lock-free programming

MSDN Blogs - 10 hours 6 min ago

Today is a holiday in the United States, so I'm going to celebrate by referring you to other things to read.

I'm going to start with a presentation by Bruce Dawson at GDC 2009, which is basically multiple instances of the question "Is this code correct?", and the answer is always "No!" Although the title of the talk is Lockless Programming in Games, the information is relevant to pretty much everybody. I can't find a recording of the presentation, but you can download the PowerPoint slides or view them in your browser. But I recommend downloading the PowerPoint slides and reading the notes, because the notes explain the slides. [Update: Ah, you can see the notes in the browser by clicking the Notes button at the bottom. So download whichever you prefer. Just make sure you read the notes.]

A more game-focused presentation by Bruce Dawson has the more general title Coding for Multiple Cores. Download the PowerPoint sides or view them in your browser.

Then there is the MSDN white paper that he authored, Lockless Programming Considerations for Xbox 360 and Microsoft Windows.

Finally, there's Herb Sutter's two-part talk atomic<> Weapons, part 1 and part 2.

That should keep you busy for a while.

How to Compile a Database Twice as Fast (or faster)

MSDN Blogs - 10 hours 36 min ago

Compiling a complete NAV database can take quite a while. Even on powerful development machines with a lot of CPU cores this is still the case - the development environment wasn't designed for the multi-core era. The only way to speed things up is to use separate instances of the development environment and have each compile a (distinct) subset of the objects in the database. With the new Development Environment Commands for PowerShell that were included in the Microsoft Dynamics NAV 2015 Development Shell, this has become a lot easier.

Before heating up those cores, let's first introduce the command that we need for this: Compile-NAVApplicationObject. In the following example we'll assume that the database and Development Shell reside on the same machine. To compile all non-compiled objects in a database named the command simply takes a parameter that specifies the database (i.e., MyApp) and optionally if and how schema changes should be synchronized:

Compile-NAVApplicationObject -DatabaseName MyApp -SynchronizeSchemaChanges No

To compile all objects in a database regardless their current compiled state use the Recompile switch:

Compile-NAVApplicationObject -DatabaseName MyApp -SynchronizeSchemaChanges No -Recompile

The command also takes a filter, e.g.:

Compile-NAVApplicationObject -DatabaseName MyApp -Filter ID=1..100

compiles all non-compiled objects with an ID in the range 1 to 100.

Now to parallelize the compilation process we need to partition the set of objects in distinct sets that can be compiled in parallel. The most straightforward way to do this is based on object type. For each object type we can start a compilation job using the AsJob parameter. Using this parameter an instance of the development environment is started in the background and a handle to this background job is returned. PowerShell comes with a set of commands to work with jobs, for instance, to get the output of a job (Receive-Job) or to wait for a job to finish (Wait-Job). Occasionally, race conditions could occur while updating the object table. As a result, some objects may fail to compile. Therefore, after all background jobs have completed we compile all non-compiled objects in a final sweep. This is all we need to understand the following function that compiles all objects in a database in 7 parallel processes:

function ParallelCompile-NAVApplicationObject
(
[Parameter(Mandatory=$true)]
$DatabaseName
)
{
$objectTypes = 'Table','Page','Report','Codeunit','Query','XMLport','MenuSuite'
$jobs = @()
foreach($objectType in $objectTypes)
{
$jobs += Compile-NAVApplicationObject $DatabaseName -Filter Type=$objectType -Recompile -SynchronizeSchemaChanges No -AsJob
}

Receive-Job -Job $jobs -Wait
Compile-NAVApplicationObject $DatabaseName -SynchronizeSchemaChanges No
}

  
Just for fun, let's measure the performance gain. We can do this using Measure-Command:

Measure-Command { Compile-NAVApplicationObject MyApp -SynchronizeSchemaChanges No -Recompile } Measure-Command { ParallelCompile-NAVApplicationObject MyApp } 

 

These two screenshots from task manager illustrate the difference in CPU utilization: while running the non-parallel version CPU utilization is hovering around 40%; while running the parallel version CPU utilization is maxed out at 100%.

 

                    

On my laptop (with 2 CPU cores) compilation of the 4148 objects in the W1 application takes 8 minutes and 46 seconds using the non-parallel version; using the parallel version it takes only 4 minutes and 32 seconds. Machines with more CPU cores may produce even better results. Note that when parallelizing this way (i.e., based on object type) only four processes are active most of the time - compilation of Queries, XMLports and MenuSuites finishes relatively quick. So if you have a machine with a lot of cores (say 6 or 8) that you want to put to use, you need to find a way to partitioning the set of objects into a larger number of smaller sets.

Who beats 4 minutes and 32 seconds? And please share how you did it!

Installing CRM 2011 Update Rollup 17 may break CRM reports

MSDN Blogs - 10 hours 41 min ago
Symptoms   After applying Update Rollup 17 to the CRM Server, CRM reports fail with error:
webserver!ReportServer_0-8!1398!10/01/2014-12:17:17:: e ERROR: Reporting Services error
Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The Hidden expression for the tablix ‘Table0’ contains an error: Specified argument was out of the range of valid values. --->
Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: The Hidden expression for the tablix ‘Table0’ contains an error: Specified argument was out of the range of valid values.
    Cause   CRM 2011 Update Rollup 17 has utilized 'Globals!RenderFormat' a new functionality introduced with SQL Reporting services 2008 R2. Therefore users who are on SQL 2008 will see failures in report rendering with the error mentioned above.   Workaround   To work around this issue, Either we have to upgrade to SQL 2008 R2 OR remove UR 17 and fall back to UR16.   * There is no solution / fix released for this as of now. This blog will be updated as soon as there is a solution to this.

How is Microsoft helping UK start-ups and Indies

MSDN Blogs - 11 hours 3 min ago

 

Microsoft supports your startup as you grow

Welcome to Microsoft BizSpark simply select the right program for your business and get started today!

 

    Free software and services for 3 years

BizSpark gives startups 3 years of free stuff – software, service, tech support, and Azure cloud services. Your startup qualifies if it is less than 5 years old, is privately held, and earns less than $1M annually. Simply register at www.bizspark.com

Here are just a few things you get:

Taking Your business idea to the next level! with Microsoft Ventures Accelerators

Coming soon: Win a £10,000 tech makeover for your small business

MSDN Blogs - 11 hours 6 min ago

We’re getting ready to launch a brand new competition for small businesses that will see two companies win a £10,000 tech makeover. Here’s what you can do to get ready…

Small Business Techover competition

The Microsoft Small Business Techover competition will be your chance to modernise your business with a £10,000 tech makeover.

We’ll be inviting you to send us your ‘Elevator Pitch’ – and helping two winners go up in the world with a big tech upgrade.

It’ll be really easy to enter - all we’re asking for is a 6-second Vine video telling us about your business and why you should win a tech makeover.

How you can get ready

Download the Vine app for your smartphone, if you haven’t already.

Have a think about what you’d like to include in your 6-second ‘Elevator Pitch’. Tell us about your business – you could show us your product, your customers or tell us why you need a tech makeover.

Make sure you follow us on Twitter, so you can be first to hear when the competition launches! 

Start your makeover now

The Small Business Techover competition is all about helping businesses benefit from the latest tech. Two winners will get a big £10,000 tech makeover, but there are some things you can do today to modernise your business.

Visit the Microsoft SMB website to find out how modern technology can give your small businesses a competitive edge – and download free trials to get started today!

Small Business Saturday: A Big Day for Small Businesses

MSDN Blogs - 11 hours 9 min ago

Small Business Saturday is expecting a big turnout this year – as more people are encouraged to ‘shop local’ and support businesses in their community. It’s taking place on December 6th – here’s everything you need to know about Small Business Saturday and how your business can benefit all year around.

What is Small Business Saturday?

Small Business Saturday UK is a grassroots campaign to highlight small business success and encourage people to ‘shop local’. It takes place on the first shopping Saturday in December each year (the 6th this year), but aims to have lasting impact on small businesses.

Last year, 48% of UK consumers were aware of the day. The Small Business Saturday Facebook page received 1.5 million views, and the #SmallBizSatUK hashtag trended in the top 3 all day on Twitter.

Over £460 million was spent in small businesses on the day itself.

How can I get involved?

Well, make sure you shop at local businesses on December 6th – or as much and as often as you can!

Small businesses are the lifeblood of the UK economy. Over 90% of businesses are small or medium-sized. Last year, small businesses totalled 47% of private sector employment and 33% of turnover (according to the Department for Business, Innovation and Skills).

All kinds of small businesses can get involved with Small Business Saturday – whether yours is a family business, a local shop, online business, wholesaler or small manufacturer.

Visit the Small Business Saturday website to download a digital pack with posters in English and Welsh that you can display in your window, as well as banners that you can display on your website.

We’ll be shopping local on December 6th this year – we hope you will be too! And we hope that your business will benefit from the Small Business Saturday campaign.

Connect with customers all year around

Modern technology can help you connect with customers all year around.

Kim Horton and Steve Wood’s business, Equus, aims to bring the simplicity of high street retailing to its equestrian customer-base. The challenge for Kim and Steve is that their business takes them all over the country, so the need to stay productive whilst on the move and from a variety of locations.

"I could be in a client's yard one day, at a trade show the next or visiting a distributor the week after," Steve said. "I need to know I can connect and be productive in all those environments."

Does this sound like something you’d say? Read Steve and Kim’s story on the Microsoft ‘For Your Business’ website

Hello World.....Hello UK SMB's

MSDN Blogs - 11 hours 12 min ago

Well hello there......

Welcome to the Microsoft UK SMB Blog. Your essential resource for SMB news, insights, guidance and expert advice - all with the aim of helping you generate more success for your SMB business in the UK. 

WEBINAR: December 1st 2014 – Microsoft Azure for Education

MSDN Blogs - 11 hours 36 min ago

Earlier this month we hosted a webinar detailing the role of Microsoft Azure in education, and how schools looking to migrate from Windows Server 2003 can transition to Azure and take advantage of the benefits offered by Microsoft’s integrated cloud platform. Following the success of this webinar and the positive feedback we’ve had from those who took part, we'll be running another on Monday December 1st, 12.15pm-1pm.

To register simply email ukedu@microsoft.com with the subject “Azure In Education” and we will send you the details to join the webinar.

During the 45 minute webinar, our team members will explain just how much schools can do with Azure from as little as £450 a month, and reveal more of the benefits that can be enjoyed from moving to Microsoft’s cloud platform. They’ll also talk about the options regarding moving to Azure as an OVS-ES agreement.

Here are just some of the areas that will be explored during the session:

  • Moving 5TB of local storage on to Azure for as little as £150 per month
  • Hosting 5 Virtual Machines running 24 / 7 for just £155 per month – includes Microsoft Windows Server licenses.
  • Backing up 100GB on Azure for £12.10 per month
  • 10 Test & Dev Virtual Machines running during business hours for just £70per month
  • Including a VPN for just £15 per month
  • 2 Websites for just £10 per month

We really hope you can join us on Monday for the next webinar in this series. As stated in previous communications, from 14th July 2015, Microsoft will no longer offer security updates, support or technical content updates for Windows Server 2003. This is a great time to be moving to Azure, and we’ll be with you every step of the way.

If you cannot make Monday’s session, we will be recording the webinar and making this available on the blog and other digital channels in due course. However for a chance to speak with our team in real-time and gain a greater understanding of what’s involved with Azure, please email ukedu@microsoft.com with the subject “Azure In Education” and we will send you the details to join the webinar.

*These prices above are based on a Level D Enterprise Agreement discount. All figures are illustrative. Please consult your Microsoft reseller for a formal quote

.NET 開源三部曲(一): .NET 基金會及 Roslyn 編譯器

MSDN Blogs - 11 hours 46 min ago

Microsoft 在今年 11 月的 Connect(); 活動中,在多項新消息中包括開源了 .NET Framework 的核心.NET 官方部落格的文章),於是引發了很多 Microsoft 擁抱開源、.NET 開源的討論,但其實這並不是 Microsoft 或 .NET 開始開源的第一天,不論是將開源專案融入 Microsoft 的產品之中(使用 jQuery、Bootstrap 等做為網站專案範本)、抑或是將 Microsoft 的技術開放源碼(e.g., IronPython, ASP.NET MVC 等)都已經行之有年,而比較正式的官方宣示,應該要算是今年稍早在 4 月的 //build/ 2014 開發者大會中,宣佈成立 .NET 基金會以及 .NET 編譯器(代號:Roslyn)平台的開源

.NET 基金會

為什麼宣示開源要成立基金會?我們可以先看看其它開源專案、社群的作法,首先,很多人熟悉的泛 UNIX 系統(包含 Linux、BSD 等)中的 GNU 計劃的開源軟體,就是由自由軟體基金會(Free Software Foundation)來管理;而許多網際網路重要的開源軟體專案,如:Apache HTTP 伺服器Apache Hadoop 分散式運算平台等,都是由 Apache 軟體基金會來管理維護;還有堅持網路為開放平台的 Mozilla 基金會也主持了許多漫遊網際網路的軟體專案,如:Firefox 等。在開源的世界裡,由一個基金會來主持、維護或管理開放源碼專案是必然的狀況,而且有專職的單位才能夠持續各種的維護、管理甚至是壯大生態系,才能讓這些專案茁壯或是廣泛應用到更多地方,不然你可以想想看,你把自己的專案開源公開出來,影響的範圍可能很有限(當然,絕對有神人會這樣一放出來就紅了),另一方面,如果 Microsoft 決定將產品或技術開源,但又是由自己的商業公司部份來主持與經營,自然也不容易建立起更大的生態系撐起這些開源專案。

於是 .NET 基金會(.NET foundation)就這樣誕生了,這個獨立於 Microsoft 的基金會就負責管理這些開源的專案,管理來自各個想貢獻這些專案的意見或程式碼,也可以確保這些專案的發展方向不受單一公司主導而且更符合開發人員、社群的需求,透過這樣的基金會,也可以看出 .NET 相關技術開源之路的決心,而且也是照著開源社群的作法來做,所以從宣佈成立的那一刻起,所有 .NET 相關的技術若決定開源,都會由這個基金會來管理,在這一頁可以看到目前 .NET 基金會所管理的專案。


.NET 基金會持續增加管理的開源專案

.NET 編譯器平台 "Roslyn"

同樣在 //build/ 2014 上宣佈的還有 .NET 編譯器平台(compiler platform)-- Roslyn 的開源(我之前的文章有簡單的介紹),這算是整個 .NET 平台開源的開端,Roslyn 編譯器平台的開源主要有三個方向:

  • 編譯器最重要的工作之一,就是將開發者寫的程式碼轉換成執行平台的代碼(native code, byte code, IL, LLVM 等),所以編譯器與程式碼的語法習習相關,編譯器開源後,開發人員與社群不只是可以對編譯器本身的功能提出意見,還可以對於程式語言的功能提出意見或改進,像是接下來要發展的 C# 6.0 的語法,就有許多部份是來自於 Roslyn 專案的這個討論頁(Discussions under C# Language Design),這意味著你與我都有機會對 C#(或 Visual Basic.NET)提出意見,不再只是 Microsoft 公司內產品單位獨自打造而已,讓新版的程式語言規格可以更符合社群期待。
  • 除了轉換程式碼之外,Roslyn 還包含程式碼分析、語法提示、程式碼重構等等功能,功能強大的 Visual Studio 許多功能都是基於這些功能來開發,在 Roslyn 開源之後,任何人都有機會將這些功能移植到其它編輯器、程式碼工具等,開發人員有更多平台或工具的選擇。


    在 Sublime 中套用 Roslyn 技術做出 C# 的語法提示。來源:https://github.com/ligershark/Kulture

  • 在 Microsoft 開源 .NET 相關技術之前,原本就有一個 Mono 專案,根據 .NET、C# 的規格自行實作了開發及執行環境,也可以將 .NET 或 C# 相關技術帶到非 Windows 的平台上,像知名的遊戲引擎 Unity3DXamarin 所開發的跨平台開發技術(將 C#/.NET 的程式碼編譯至 Mac/iOS/Android 平台上)等都是使用 Mono 來實作,在 Roslyn 開源後,Mono 計劃也可以與之相輔相成,互相運用彼此優異的部份,同時也可以貢獻給這些基於 Mono 所開發的專案。

透過 Roslyn 的開源,除了讓這個編譯器平台能夠廣納接受來自世界各地開發者、開發社群的創新之外,也是 Microsoft 將其發展多年的技術貢獻給社群的方式。

在接下來的兩個部曲,我們再來談談 ASP.NET 的開源、.NET 核心開源還有 .NET Server Stack on Linux/Mac 的議題。

原始文章發佈於「開發者之魂」部落格

.NET 開源三部曲(一): .NET 基金會及 Roslyn 編譯器

MSDN Blogs - 11 hours 46 min ago

Microsoft 在今年 11 月的 Connect(); 活動中,在多項新消息中包括開源了 .NET Framework 的核心.NET 官方部落格的文章),於是引發了很多 Microsoft 擁抱開源、.NET 開源的討論,但其實這並不是 Microsoft 或 .NET 開始開源的第一天,不論是將開源專案融入 Microsoft 的產品之中(使用 jQuery、Bootstrap 等做為網站專案範本)、抑或是將 Microsoft 的技術開放源碼(e.g., IronPython, ASP.NET MVC 等)都已經行之有年,而比較正式的官方宣示,應該要算是今年稍早在 4 月的 //build/ 2014 開發者大會中,宣佈成立 .NET 基金會以及 .NET 編譯器(代號:Roslyn)平台的開源

.NET 基金會

為什麼宣示開源要成立基金會?我們可以先看看其它開源專案、社群的作法,首先,很多人熟悉的泛 UNIX 系統(包含 Linux、BSD 等)中的 GNU 計劃的開源軟體,就是由自由軟體基金會(Free Software Foundation)來管理;而許多網際網路重要的開源軟體專案,如:Apache HTTP 伺服器Apache Hadoop 分散式運算平台等,都是由 Apache 軟體基金會來管理維護;還有堅持網路為開放平台的 Mozilla 基金會也主持了許多漫遊網際網路的軟體專案,如:Firefox 等。在開源的世界裡,由一個基金會來主持、維護或管理開放源碼專案是必然的狀況,而且有專職的單位才能夠持續各種的維護、管理甚至是壯大生態系,才能讓這些專案茁壯或是廣泛應用到更多地方,不然你可以想想看,你把自己的專案開源公開出來,影響的範圍可能很有限(當然,絕對有神人會這樣一放出來就紅了),另一方面,如果 Microsoft 決定將產品或技術開源,但又是由自己的商業公司部份來主持與經營,自然也不容易建立起更大的生態系撐起這些開源專案。

於是 .NET 基金會(.NET foundation)就這樣誕生了,這個獨立於 Microsoft 的基金會就負責管理這些開源的專案,管理來自各個想貢獻這些專案的意見或程式碼,也可以確保這些專案的發展方向不受單一公司主導而且更符合開發人員、社群的需求,透過這樣的基金會,也可以看出 .NET 相關技術開源之路的決心,而且也是照著開源社群的作法來做,所以從宣佈成立的那一刻起,所有 .NET 相關的技術若決定開源,都會由這個基金會來管理,在這一頁可以看到目前 .NET 基金會所管理的專案。


.NET 基金會持續增加管理的開源專案

.NET 編譯器平台 "Roslyn"

同樣在 //build/ 2014 上宣佈的還有 .NET 編譯器平台(compiler platform)-- Roslyn 的開源(我之前的文章有簡單的介紹),這算是整個 .NET ���台開源的開端,Roslyn 編譯器平台的開源主要有三個方向:

  • 編譯器最重要的工作之一,就是將開發者寫的程式碼轉換成執行平台的代碼(native code, byte code, IL, LLVM 等),所以編譯器與程式碼的語法習習相關,編譯器開源後,開發人員與社群不只是可以對編譯器本身的功能提出意見,還可以對於程式語言的功能提出意見或改進,像是接下來要發展的 C# 6.0 的語法,就有許多部份是來自於 Roslyn 專案的這個討論頁(Discussions under C# Language Design),這意味著你與我都有機會對 C#(或 Visual Basic.NET)提出意見,不再只是 Microsoft 公司內產品單位獨自打造而已,讓新版的程式語言規格可以更符合社群期待。
  • 除了轉換程式碼之外,Roslyn 還包含程式碼分析、語法提示、程式碼重構等等功能,功能強大的 Visual Studio 許多功能都是基於這些功能來開發,在 Roslyn 開源之後,任何人都有機會將這些功能移植到其它編輯器、程式碼工具等,開發人員有更多平台或工具的選擇。


    在 Sublime 中套用 Roslyn 技術做出 C# 的語法提示。來源:https://github.com/ligershark/Kulture

  • 在 Microsoft 開源 .NET 相關技術之前,原本就有一個 Mono 專案,根據 .NET、C# 的規格自行實作了開發及執行環境,也可以將 .NET 或 C# 相關技術帶到非 Windows 的平台上,像知名的遊戲引擎 Unity3DXamarin 所開發的跨平台開發技術(將 C#/.NET 的程式碼編譯至 Mac/iOS/Android 平台上)等都是使用 Mono 來實作,在 Roslyn 開源後,Mono 計劃也可以與之相輔相成,互相運用彼此優異的部份,同時也可以貢獻給這些基於 Mono 所開發的專案。

透過 Roslyn 的開源,除了讓這個編譯器平台能夠廣納接受來自世界各地開發者、開發社群的創新之外,也是 Microsoft 將其發展多年的技術貢獻給社群的方式。

在接下來的兩個部曲,我們再來談談 ASP.NET 的開源、.NET 核心開源還有 .NET Server Stack on Linux/Mac 的議題。

Introducing the New FREE Visual Studio Community 2013

MSDN Blogs - 12 hours 22 min ago
Visual Studio Community 2013

A full-Featured IDE - Free.
Start coding the app of your dreams for Windows, Android, and iOS.

Download Everything you need, all in one place for FREE!

Community includes..

Tools Designers, editors, debuggers, profilers - all packaged up in a single environment.

 Languages Code in C++, Python, HTML5, JavaScript, and of course C#, VB, and F#.

 Web Extensive web support for ASP.NET, Node.js, and JavaScript

 Devices Tools for Apache Cordova and Unity to reach even more platforms.

Script level upgrade for master database failed

MSDN Blogs - 12 hours 31 min ago
  In this post I would like to explain one of the interesting issues that I encountered while upgrading a SQL Server Instance. Symptoms · SQL Server instance is upgraded using a service pack or any other update. · After the upgrade SQL server service starts but it stops in next few seconds. · When we verify the SQL Errorlog we get the below errors: 2014-11-19 22:06:47.63 spid7s      Creating sp_ExternalMailQueueListener 2014-11-19 22:06:47.64 spid7s     ...(read more)

Don't miss the chance to be one of the WINNERS !!!

MSDN Blogs - 12 hours 55 min ago

IT Pro expert Academy raffle

 As successful technologists never stop learning and great technology never stops evolving, so don’t miss your chance to be one of the MVA members and win valuable prizes with Microsoft

Microsoft Virtual Academy (MVA) offers you free online training delivered by Microsoft experts to help you continually learn with hundreds of online courses and provides you with certificate for each course that you complete on MVA

Not only do we want to help you learn and increase your knowledge, but we also want to give you the chance to win valuable prizes through our raffle.

The raffle is open to any Developer or IT Professional resident in Egypt

How to participate:

In order to enter the raffle, you need to

  1. Take two of the MVA ( www.MicrosoftVirtualAcademy.com ) courses from the below list to learn more & develop your technical skills
  2. Send a screen shot of your certificate of completion to these course to ITPROMVA@outlook.com   

 

List of MVA courses:

  • Microsoft Azure IaaS Deep Dive Jump Start
  • Windows Azure Pack: Infrastructure as a Service Jump start
  • DevOps:An IT Pro Guide
  • Office 365 ProPlus Deployment for IT Pros
  • Expanding Office 365 with Enterprise Mobility Suite
  • Server Virtualization with Windows Server Hyper-V and System Center
  • VMware to Hyper-V Migration
  • What's New in System Center 2012 R2 Jump Start
  • Virtualizing Your Data Center with Hyper-V and System Center
  • System Center 2012 R2 Operations Manager Management Pack
  • Licensing Windows Server 2012 R2
  • Security Fundamentals
  •  Understanding Active Directory
  • What's New in Windows Server 2012 R2 Jump Start
  • Advanced Tools & Scripting with PowerShell 3.0 Jump Start
  • Microsoft Desktop Virtualization
  • Windows Server 2012 R2 Essentials
  • The Microsoft Hybrid Cloud: Best Practices Guidance
  • Windows 8.1 User Readiness Toolkit
  • Windows 8.1 Update for Enterprise Jump Start
  • What’s New in Windows® 8.1 for IT PROFESSIONALS?
  • Small Business: Migrating from Windows XP to Windows 8.1
  • Windows 8.1 To Go
  • Windows Performance Jump Start
  • Hybrid Cloud Workloads SQL
  • Hybrid Cloud Workloads: Storage and Backup
  • Hybrid Cloud Workloads-Websites
  • Moving to Hybrid Cloud with Microsoft Azure
  • Windows Phone 8.1 Enterprise Mobility Management
  • What's New in Windows 8.1 Update
  • Powershell Essentials
  • Virtualizing & Managing SharePoint with Microsoft Cloud OS

 

TERMS & CONDITIONS

In these rules “Microsoft”, “we”, “our”, and “us” refer to Microsoft Egypt a Limited Liability Company, the Sponsor of the Competition. “You”, “yourself” refers to an eligible Competition entrant.

 

AGREEMENT: In order to enter the raffle, you must agree
to these Official Rules (“Rules”). Therefore, please read these Rules prior to
entry to ensure you understand and agree.

Entry in the Competition constitutes your acceptance of
these official rules.

ELIGIBILITY: To be eligible to enter the raffle, you must
be: above the age of 18 (Eighteen) in Egypt at the time of entry. Raffle is
void in all countries except Egypt. Employees, interns, contractors, and
official office-holders of Microsoft and their parent companies, subsidiaries,
affiliates, and their respective directors, officers, employees, advertising
and promotion agencies, representatives, agents, and Judges are ineligible to
participate in this raffle. Microsoft reserves the right to verify eligibility
and to adjudicate on any dispute at any time.

If you are entering as part of a company or on behalf of your employer, these
rules are binding on you, individually, and/or your employer. If you are acting
within the scope of your employment, as an employee, contractor, or agent of
another party, you warrant that such party has full knowledge of your actions
and has consented thereto, including your potential receipt of a prize. You
further warrant that your actions do not violate your employers or company’s
policies and procedures.

Participants will be excluded immediately if:

  1. Their MVA certificate is not within the raffle period

SELECTION OF WINNERS

All eligible entry will be
judged by Microsoft Team (“Judges”) whose decision is final and 8 winners will
be selected.

PRIVACY:
Microsoft’s Privacy Policy available at http://www.microsoft.com/privacy will
apply to this Competition and to all information that we receive from your
entry. Entrants agree that personal data entered during the registration,
including name, mailing address, phone number, and email address may be
processed, stored, shared and otherwise used for the purposes and within the
context of the raffle. Entrants also understand this data may be used by
Microsoft in order to verify an entrant’s identity, address and telephone
number in the event an entry qualifies for a prize.

 

By accepting a prize, Entrant agrees and consents to Microsoft and their agencies use of
entrant’s place of residence, name, and/or likeness to name the entrant for a
reasonable time after completion of the raffle in promotional and advertising
material of Microsoft (or its agents) as a winner of the raffle without
additional compensation, unless prohibited by law.

PUBLICITY. By
accepting a prize, entrant agrees to Microsoft and its agencies use of his or
her name and/or likeness for advertising and promotional purposes without
additional compensation, unless prohibited by law.

 

INDEMNIFICATION:
To the maximum extent permitted by law, each entrant indemnifies
and agrees to keep indemnified Raffle Entities at all times from and against
any liability, claims, demands, losses, damages, costs and expenses resulting
from any act, default or omission of the entrant and/or a breach of any
warranty set forth herein. To the maximum extent permitted by law, each entrant
agrees to defend, indemnify and hold harmless the Raffle Entities from and
against any and all claims, actions, suits or proceedings, as well as any and
all losses, liabilities, damages, costs and expenses (including reasonable
attorneys’ fees) arising out of or accruing from (a) any App or other material
uploaded or otherwise provided by the entrant that infringes any copyright,
trademark, trade secret, trade dress, patent or other intellectual property
right of any person or defames any person or violates their rights of publicity
or privacy, (b) any misrepresentation made by the entrant in connection with
the Raffle; (c) any non-compliance by the entrant with these Rules; (d) claims
brought by persons or entities other than the parties to these Rules arising
from or related to the entrant’s involvement with the Raffle; (e) acceptance,
possession, misuse or use of any prize or participation in any Raffle-related
activity or participation in this Raffle; (f) any malfunction or other problem
with the Raffle Site; (g) any error in the collection, processing, or retention
of entry information; or (h) any typographical or other error in the printing,
offering or announcement of any prize or winners.

 

GOVERNING LAW:
The Raffle is governed by the laws of Egypt and you consent to the exclusive
jurisdiction of the Cairo courts for any disputes arising out of this raffle.

 

ELIMINATION: Any
false information provided within the context of the raffle by any entrant
concerning identity, address, telephone number, email address, ownership of
right or non-compliance with these Rules or the like may result in the
immediate elimination of the entrant from the Raffle.

 

RIGHT TO CANCEL, MODIFY OR DISQUALIFY: If for any reason the Raffle is not capable of running as
planned, including infection by computer virus, bugs, tampering, unauthorized
intervention, fraud, technical failures, or any other causes which corrupt or
affect the administration, security, fairness, integrity, or proper conduct of
the Raffle, Microsoft reserve the right at their sole discretion to cancel,
terminate, modify or suspend the Raffle. Sponsors further reserve the right to
disqualify any entrant who tampers with the submission process or any other
part of the Raffle. Any attempt by an entrant to deliberately damage any web
site, including the or undermine the legitimate operation of the Raffle is a
violation of criminal and civil laws and should such an attempt be made,
Microsoft reserves the right to seek damages from any such entrant to the
fullest extent of the applicable law.

 

NOT AN OFFER OR CONTRACT OF EMPLOYMENT: Under no circumstances shall the submission of the certificate to
the raffle, the awarding of a prize, or anything in these Rules be construed as
an offer or contract of employment with Microsoft. You acknowledge that you
have submitted your certificate voluntarily and not in confidence or in trust.
You acknowledge that no confidential, fiduciary, agency or other relationship
or implied-in-fact contract now exists between you and Microsoft and that no
such relationship is established by your submission of the certificate under
these Rules.

  • RAFFLE PERIOD: The Raffle begins on November 27th, 2014 and ends on December 11th, 2014 (“Raffle Period”).  Entries must be receive within the Raffle Period to be eligible.

IMPORTANT NOTICE: Each entrant has the responsibility to review and
understand its policies regarding its eligibility to participate in this raffle.
If an individual is participating in violation of Entrant's policies or any
applicable law or regulation, that Entrant may be disqualified from this raffle
at the Organizer’s sole discretion.

THE PRIZES:

  • 1 Nokia Lumia 620
  • 2 Hard disks
  • 2 laptop back pack
  • 2 Wireless Mouse
  • 1 Power bank

Microsoft Egypt reserves
the right to substitute the Prizes for other prizes of equal or greater value.

  • Prize cannot be exchanged for cash or any other prize
  • Microsoft Egypt will not be viable for any corrupted prize once the prize has been given to the winner.
  • The winner must present the National ID
  • All prizes must be collected from the Microsoft booth during the raffle time otherwise a new winner will be selected
  • Microsoft reserves the right to delay the submission of the prize in case of shipping issues.

WINNER LIST:

Winners will be announced on Microsoft Developer Facebook & Twitter  

DURATION OF COMPETITION:

The contest will be from 27th of November till 11th of December  

 OTHER: 

  • No correspondence will be entered into regarding either this raffle or these Terms and Conditions.
  • In the unlikely event of a dispute, Microsoft Egypt decision shall be final.
  • Microsoft Egypt reserves the right to amend, modify, cancel or withdraw this raffle at any time without notice.
  • Microsoft Egypt cannot guarantee the performance of any third party and shall not be liable for any act or default by a third party.
  • Participants in this raffle agree that Microsoft Egypt will have no liability whatsoever for any injuries, losses, costs, damage or disappointment of any kind resulting in whole or in part, directly or
    indirectly from acceptance, misuse or use of a prize, or from participation in this raffle.
  • Microsoft reserves the right to disqualify any participant that does not adhere to the terms and conditions or make any change to the terms and conditions at any point of the raffle.

 

 

 

Web Deploy from Visual Studio to Microsoft Azure Web Sites over Proxy

MSDN Blogs - 13 hours 46 min ago

 

So far, there was a limitation on the Web Deploy feature where the proxy was not supported.

 

If you try to publish using Web Deploy to Azure Web Sites over Proxy, then you would run into error something like:

 

"Could not connect to the remote computer ("****.scm.azurewebsites.net"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE"

 

You might get the above error for many reasons while deploying to Azure Web Sites and one of the reasons is if you are trying to use proxy.

 

 

With the latest version of the Web Deploy 3.6 (BETA), the proxy support has been newly featured which helps you to address the above error.

Download Link:        http://www.microsoft.com/en-us/download/details.aspx?id=43717

 

 

Add the below code snippet to the msdeploy.exe.config file after the installation of the latest Web Deploy 3.6

<system.net>

<defaultProxy useDefaultCredentials="true" />

</system.net>

 

С 3 по 12 декабря пройдет серия семинаров Connect. Регистрация уже открыта!

MSDN Blogs - 14 hours 23 min ago

Мы рады пригласить Вас на серию семинаров Connect (“Russia”), которая состоится в Москве в декабре.

Connect (“Russia”) – это серия бесплатных семинаров для тех, кто хочет быть в курсе самых последних новостей о платформе Microsoft.

За последние несколько месяцев было сделано множество анонсов:

  • открыт код под .NET Core;
  • используя ASP.NET, стало возможным разрабатывать сервисы под Linux и Mac;
  • появилась бесплатная версия Visual Studio Community 2013.

Посетив семинары Connect (“Russia”), Вы узнаете про самые большие изменения в платформе Microsoft, а также то, как они повлияют на нас сейчас и в будущем. В программе каждого семинара запланирована сессия вопросов и ответов, в течение которой Вы сможете лично пообщаться с экспертами Microsoft (Александром Белоцерковским, Стасом Павловым, Татьяной Сметаниной и Георгием Гаджиевым) и получить ответ на интересующий Вас вопрос.

Участие в семинарах бесплатное! Выберите удобную для вас дату и зарегистрируйтесь!

 

Число мест ограничено, торопитесь занять свое!

Более подробно ознакомиться с программой семинаров Вы можете на сайте мероприятия.

 

Pages

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