Skip to Content
Getting Started with .NET Gadgeteer
book

Getting Started with .NET Gadgeteer

by Simon Monk
May 2012
Beginner
88 pages
2h 4m
English
O'Reilly Media, Inc.
Content preview from Getting Started with .NET Gadgeteer

Testing

We are now ready to test our little web server, so connect the modules according to Figure 4-4 and program the Mainboard with the HelloWebServer program. You can also plug an Ethernet cable between the Ethernet module and your modem/switch. Don’t forget to also attach the DP Power module to connector 1.

After a short pause, the LED should turn green. Success!

Sometimes you have to unplug and the plug the Ethernet cable back in to make Gadgeteer aware of the connection. If this does not work and you get error messages when you deploy, then you might have an old version of the Gadgeteer Firmware and/or the SDK, so follow the installation and firmware update procedure described in Installation.

We do, however, have one little problem to overcome. Since the IP address is allocated automatically, we don’t know what we need to type into our browser.

To discover this, we need to look at the output window of Visual Studio, as shown in Figure 4-6. This window is only visible when you are in the debugger. If it is not showing, then you may need to make it visible by dragging the bottom partition of the screen—where the Error List usually resides—up a little.

IP Address in the Output Window

Figure 4-6. IP Address in the Output Window

You can see the following line in the output:

Web server started at http://192.168.1.106:80/

This tells us that the sever is up and running and listening for requests on port 80 (the :80 part). ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

C# 7 and .NET Core 2.0 High Performance

C# 7 and .NET Core 2.0 High Performance

Ovais Mehboob Ahmed Khan
Microsoft® SQL Server® 2012 Integration Services

Microsoft® SQL Server® 2012 Integration Services

Rakesh Parida Wee-Hyong Tok Matt Masson, Xiaoning Ding, and Kaarthik Sivashanmugam

Publisher Resources

ISBN: 9781449330682Catalog PageErrata