Dev Box, A Cloud-Based IDE Service for Developers

No Comments »

Microsoft announced the Microsoft Dev Box during their recent conference. Over the last Construct convention, Microsoft introduced the Microsoft Dev Field. This new cloud service offers builders with safe, coding-ready developer workstations for hybrid groups of all sizes. With the brand new service, the corporate goals to make it simple for builders to shortly entry a pre-configured setting with all of the instruments and assets to jot down code.

Growth organizations can create and maintain Dev Field photographs themselves, with all the developers’ devices and dependencies to assemble and run their functions via way of means of making use of Microsoft Dev Field. As properly as, growth agencies can encompass software deliver codes and binaries which can be generated nightly, allowing developers to run and understand the code right away without being equipped for extended rebuilds. Development teams can consist of their utility supply code and nightly constructed binaries, permitting builders to at once to begin running and expertise the code without looking forward to lengthy re-builds.

It’s no secret that it can often be quite a bit of a process for developers to set up a new physical machine according to their needs. Microsoft argues that with the new Dev Box, IT teams can give newly onboarded developers easy access to a standard development environment without having to configure their own machine. Meanwhile, more senior developers who may be working on different projects — all with their own configurations and conflicting dependencies — can use multiple Dev Boxes to get their work done. And at the same time, IT regains control since the Dev Boxes are integrated with Windows 365 and management tools like Intune and the Microsoft Endpoint Manager.

This is not the first time Microsoft has made virtual development environments available to developers. Earlier this year, the company also launched its Azure Game Development Virtual Machine into preview. The use case here is obviously a bit different, but the idea is pretty much the same. Developers can set up their boxes as needed, with any IDE, SDK or internal tools they need (as long as it runs on Windows) and target any platform their tools support.

The developer workstation is being modified

The dev workstations include an excess of challenges. New developers can spend days putting in a working surroundings and weeks earlier than they make their first commit. Senior developers regularly work throughout a couple of initiatives that may deliver conflicting dependencies and hamper their dev workstation. And we’ve all made an alternate that unexpectedly left us with damaged surroundings. With Microsoft Dev Box, dev groups create and maintain Dev Box pictures with all of the tools and dependencies their devs want to construct and run their applications. Teams can consist of their application source code and nightly constructed binaries, permitting devs to right now begin strolling and expertise the code while not having to watch for lengthy re-builds.

“Developers stay in control of their Dev Boxes with a developer portal that enables them to create and delete their Dev Boxes for any of their projects. Developers can create Dev Boxes to experiment on a proof-of-concept, keep their projects separate, or even parallelize tasks across multiple Dev Boxes to avoid bogging down their primary environment,” Microsoft explains in today’s announcement. “For devs working on legacy apps, they can maintain Dev Boxes for older versions of an application to quickly create an environment that can reproduce and diagnose critical customer issues as they emerge.”

Microsoft Dev Box supports any developer IDE, SDK, or internal tool that runs on Windows. Dev Boxes can target any development workload you can build from a Windows desktop and are particularly well-suited for desktop, mobile, IoT, and gaming. You can even build cross-platform apps using Windows Subsystem for Linux.

Developing Dev Teams

The Dev Box, according to Microsoft, guarantees that developers have the necessary tools and resources at all times, based on project, work, and even role. Dev teams choose from a variety of SKUs when designing Dev Boxes to define the proper level of computation for each project and immediately scale up aging physical hardware. Thanks to Azure Active Directory integration, teams can quickly onboard new team members by assigning them to Azure Active Directory groups that provide them access to the Dev Boxes they require for their projects.

Dev teams ensure remote team members enjoy a high-fidelity experience and gigabit connection speeds wherever they are in the world by putting Dev Boxes in the developer’s local region and connecting over the Azure Global Network. Dev teams can tighten network security while outsourcing to external teams by defining role-based permissions that provide internal developers with more flexibility while limiting access for external contractors.

Security & Management

IT administrators can use Azure Active Directory to put up sophisticated access controls for Dev Box security. For Dev Boxes that access sensitive source code and client data, IT admins can set up conditional access policies that require users to connect through a compliant device, demand multifactor authentication (MFA), or implement risk-based sign-in policies.

Importantly, Microsoft Dev Box isn’t just for developers; because it’s integrated with Windows 365, IT managers can easily manage Dev Boxes alongside Cloud PCs in Microsoft Intune and Microsoft Endpoint Manager. IT admins may send zero-day patches to all devices throughout their enterprise using Intune’s expedited quality updates. If a developer’s Dev Box is hacked, IT administrators can isolate it while assisting the developer in reinstalling the software on a fresh Dev Box.

Conclusion

To keep costs down, developers can obviously spin their machines down at night and start them up in the morning. And to manage those costs across teams, Microsoft will also offer a single view to see all of a team’s boxes.

Microsoft Dev Box is now in private beta and will be released to the general public in the coming months. Visit here to learn more about Microsoft Dev Box and see demos.

Hide Form from Alt+Tab

33 Comments »

When you show a .NET Form, by default the form will appear in the Windows Start bar and in the list of open windows shown when the user presses Alt+Tab.

Read the rest of this entry »

Console Output from a WinForms Application

45 Comments »

You may wish to enable your WinForms application to run from a console window or command line. And when it does, you probably want to send output messages to the console window that launched your WinForms application.

Unfortunately Console.WriteLine()–the standard method of writing to the console window–by default will not work from a WinForms application. That’s because the console window that launched your WinForms application belongs to the cmd.exe process, which is separate from your WinForms application process.

Read the rest of this entry »

Determine the Version of a Loaded .NET Assembly

1 Comment »

Sometimes you need to know which version of an assembly was loaded by your .NET application. The following code snippet makes it easy:

Read the rest of this entry »

Embedded Image Resources

15 Comments »

If you use images in a .NET application, chances are you will find it more convenient to embed those images as resources in your project, rather than leaving them as separate files and trying to locate and load the images from disk when the application runs.

Read the rest of this entry »

DoDragDrop is Synchronous

5 Comments »

The DoDragDrop method on a control is synchronous. This means that when you call DoDragDrop to start a drag operation, the program will not return and execute the rest of your handler code until the user 1) drops the data she is dragging, or 2) cancels the drag operation. This is one of those little facts that you need to file away in your brain, as it could have a profound effect on your drag & drop logic.

Read the rest of this entry »

Visual Studio “Orcas” and .NET 3.5 Beta Available

No Comments »

Microsoft has released a beta version of the next major release of Visual Studio and the .NET framework.

Visual Studio “Orcas” will enable developers to write programs that can run on Windows Vista, Longhorn Server, Office 2007 and the Web. The .NET Framework v3.5 will provide better support for Web 2.0 and AJAX applications. Microsoft has been planning to release Orcas this year, but a corporate VP recently told ZDNet that it may not happen until 2008.

Read the rest of this entry »

Prevent Beep for TextBox Enter

4 Comments »

Typically when you press the Enter key while typing in a TextBox control, you will hear the computer beep.

To prevent this beep, handle the Enter key in the KeyPress event, and set the Handled property to true. For example:

Read the rest of this entry »