Developing software on Surface Go 2
My previous post about Surface Go 2 was brief introduction based on my own experiences after one month of using it. Surface Go 2 is lightweight machine with limited hardware resources. It’s not your next portable dev machine as it’s more to the tablets world but still there are some software development options to consider before buying Surface Go 2. Here’s my advice.
It’s all from real life. Before and during writing this post I tried out all options described in this post. I used real ASP.NET Core project I’m writing for one of my customer and I tried to complete real tasks on Surface Go 2.
1. Remote Desktop to in-prem machine
Maybe the easiest way to build software on Surface Go 2 is to have VPN connection to company network and use Remote Desktop to connect to main dev box. All you need to do is to set up VPN connection in your Surface Go 2 and you are good to go.
If you are working from home like me then probably you are interested in connection to machine located in your home network. Yes, sure, you can open Remote Desktop port in your router and redirect all traffic to your dev box but stop for a moment. It’s not secure. Depending on router and its software you can probably set up VPN right in your router. I strongly recommend you to do it to keep your machines and home network safe.
With RDC you can configure screen size and resolution of session to remote machine. With very low settings you should be able to have stable connection to dev box even over slow network.
Pros
- Energy efficient as Remote Desktop has compact protocol
- Leaves enough resources for other applications to run
Cons
- No chance for offline work
- Not all applications scale on screen over Remote Desktop
- Sometimes it’s not so easy to get VPN to company network
- For home network all security is up to you
2. Remote Desktop to cloud machine
If you don’t want to buy hardware for dev box and you prefer to go with what cloud environments offer then you may have your virtual dev box in cloud. On Azure you can set up different virtual machines and use Windows or Linux as operating system.
On Azure virtual machines have nice feature – automatic shutdown. If you leave virtual machine running when you finish your work then it still consumes resources and grows your bill. And it’s easy to forget virtual machine running. With automatic shutdown feature you can set time when virtual machine is shutdown automatically. If you vote for Azure cloud I strongly recommend to use this feature.
With virtual machines on Azure you have two options to get connected – Remote Desktop and SSH. If you prefer Remote Desktop then it’s practically like the first option discussed here. On Azure you can have virtual network and VPN gateway to make your dev box accessible only over VPN. But be warner – this option comes with high price tag.
Pros
- Energy efficient as Remote Desktop has compact protocol
- Leaves enough resources for other applications to run
- You can set all things up exactly like you wish
Cons
- You need stable network connection to use Remote Desktop
- No chance for offline work
- Not all applications scale on screen over Remote Desktop
- VPN gateway service is expensive
3. SSH to remote machine using Visual Studio Code
No matter where your dev box is located, in some cases you can keeps things smaller when accessing your dev box over SSH – be it Windows or Linux machine. And what’s best – Visual Studio Code has extensions for SSH.
What it means? You can run Visual Studio Code straight on your Surface Go 2 and connect to your project folder in dev box using SSH. User experience is practically the same as using Visual Studio Code for local development.
What’s still up to you is to organize dev machine and host it somewhere – be it company network, cloud or your home network.
Pros
- It’s Visual Studio Code with all goodness running on your machine
- Enough resources to run other programs too
Cons
- No option for offline work
- You need stable internet connection
- Hosting and managing of dev box is up to you
4. Using Visual Studio Codespaces with Visual Studio Code
Visual Studio Codespaces is online service by Microsoft that you can use to run virtual dev box on cloud and write code using Visual Studio Code or online code editor provided by service.
This option is a little bit similar to SSH to remote machine using Visual Studio Code but instead of machine set up by you there’s VM set up by Codespaces service. When configuring this machine you will specify code repository, size of machine and idle timeout. If you have not used your VM for specified amount of time then Codespaces service will shut it down to save expenses.
Pros
- Usual Visual Studio Code experience with all its goodness
Cons
- Not an option for offline work
- Service has only Linux boxes right now
- Not much options to configure your VM
5. Local development with Visual Studio Code
If you don’t have complex application to build then it’s also possible to build it locally on Surface Go 2. This option is perfect for more lightweight solutions like web applications, Azure Functions and console applications.
Some of my readers probably want to ask now – but what about database? Surface Go 2 is not for running SQL Server, even Express Edition will be overkill for this machine.
There are few things you can do:
- Connect to SQL Server hosted on some other machine. It’s not perfect choice, specially when SQL Server is located thousands of miles away. The closer you are to SQL Server the better connection you have.
- Use SQLite on Surface Go 2. You can use SQLite as it is small and lightweight. You get something close to relational database but consider one important thing – SQLite is not SQL Server. Make sure you have unit and integration tests for your code to make sure that your LINQ-queries are translated to correct SQL Server commands. SQLite is supported by NHibernate and Entity Framework Core.
- Use in-memory database of Entity Framework Core. In-memory database that comes with Entity Framework Core doesn’t have any files on disk. It lives only in machine memory until your program is running. When program is stopped then in-memory database is gone. Again – in-memory database is not same as SQL Server and I strongly recommend you to use tests to make sure that code you wrote works well with SQL Server too.
If you are using Entity Framework Core or NHibernate as you object-relational mapper you can be sure both of them support SQLite. If you wrote your own data layer then things may get very complicated on supporting different database products and I highly recommend you to use database in some other machine.
Pros
- Visual Studio Code with all plugins and extensions you need
- Work online or offline
- It’s possible to use SQLite or in-memory database to mimic real databases
Cons
- When offline you have no access to real databases like MSSQL, MySL, Postgre etc
- Building of solution may drain the battery fast
- When travelling it’s easy to forget to commit code changes back to repository
Conclusion
Although Surface Go 2 is not for software development but targeted more to business people it is still possible to use it for coding. Sure, it will not be the main dev box but it’s excellent complement to it for days when there are meetings at customer site or you need to travel from one place to another. If you really plan to use Surface Go 2 for software development then I suggest LTE version as it’s always connected and you don’t depend on availability and stability of near-by WiFi.
Thanks for the great review, I am also considering a SP2 for media consumption and ‘armchair dev’ via vscode SSH when I am away from my desk.
Would you be able to comment on battery life (generally in terms of media consumption and also when running vscode).
Thanks
I tried out VS Code on SG2 and after 2.5h us drive I had 40% of battery left. So I think per one charge you will get ~3.5-4h time for VS Code. I’m not sure about media. It depends on video quality. Full HD is easier task for machine than 4K, by example. So, factors like these will all matter.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
gncoi8
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
1lj91x
b68c1o
q4vblp
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
jjqxwr
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
9zriq3
탑플레이어포커머니상 슈가머니
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
6f7uz4
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article. https://accounts.binance.com/sl/register-person?ref=OMM3XK51
cu5ase
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
jn30ba
zff06l
0tq7a4
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article. https://accounts.binance.com/kz/register-person?ref=RQUR4BEO
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
65v8bp
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
z29139
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Your article helped me a lot, is there any more related content? Thanks!
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
I don’t think the title of your enticle matches the content lol. Just kidding, mainly because I had some doubts after reading the enticle.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Thanks a bunch for sharing this with all of us you really know what you are talking about! Bookmarked. Kindly also visit my website =). We could have a link exchange arrangement between us!
1
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Your article helped me a lot, is there any more related content? Thanks!
x3j69q
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Your article helped me a lot, is there any more related content? Thanks!
xks1iv
9pvsbb
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me? http://hori-zen.cryptostarthome.com
Thank you, your article surprised me, there is such an excellent point of view. Thank you for sharing, I learned a lot.
1glafj
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Thank you for your shening. I am worried that I lack creative ideas. It is your enticle that makes me full of hope. Thank you. But, I have a question, can you help me?
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
ykpelo
zj0aea
36wtt0
Your article helped me a lot, is there any more related content? Thanks!
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Hello. fantastic job. I did not imagine this. This is a splendid story. Thanks!
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
It is actually a nice and useful piece of info. I¦m glad that you just shared this useful info with us. Please keep us up to date like this. Thanks for sharing.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Your article helped me a lot, is there any more related content? Thanks!
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
4ioytt
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
jqjexx
Your article helped me a lot, is there any more related content? Thanks!
e32f7c
gunnarpeipman.com
gunnarpeipman.com
Your article helped me a lot, is there any more related content? Thanks!
Gore was elected to the United States Senate in 1952, the place he was instrumental in creating the Interstate Freeway system.
m49t6b
Wow superb blog layout How long have you been blogging for you make blogging look easy The overall look of your site is magnificent as well as the content
Thanks for sharing. I read many of your blog posts, cool, your blog is very good. https://www.binance.info/vi/register?ref=WTOZ531Y
e8lwn1
This is so relevant right now.
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article. https://www.binance.info/es/register-person?ref=T7KCZASX
I don’t commonly comment but I gotta tell regards for the post on this perfect one : D.
6hb3bj
Your article helped me a lot, is there any more related content? Thanks! https://www.binance.com/hu/register?ref=FIHEGIZ8
I was suggested this web site by my cousin Im not sure whether this post is written by him as no one else know such detailed about my trouble You are incredible Thanks
Somebody essentially lend a hand to make significantly articles Id state That is the very first time I frequented your website page and up to now I surprised with the research you made to make this actual submit amazing Wonderful task
Really well-written article! 👏 I enjoyed the way you broke down the topic—it feels very genuine and helpful, not just theory. The practical tips make it easy for readers like me to connect and actually take something useful away.At meinestadtkleinanzeigen.de , we’re building a directory and classifieds platform in Germany where people can discover businesses, services, and opportunities across many categories. That’s why I especially value content like yours, because it shows how sharing knowledge online can really create connections.Keep up the great work—I’ll definitely be following along for more insights! 🚀
Your blog is a testament to your dedication to your craft. Your commitment to excellence is evident in every aspect of your writing. Thank you for being such a positive influence in the online community.
Great article, thanks for sharing such valuable insights! 🙌 I really appreciate the way you explained the topic so clearly and made it easy to understand. It’s rare to find content that is both informative and practical like this. By the way, I recently came across a helpful platform called profis-vor-ort.de — it connects people quickly with local experts and services in Germany. I think it could be a great resource for anyone interested in finding trustworthy professionals nearby. Keep up the great work, I’ll definitely be following your future posts!
Your article helped me a lot, is there any more related content? Thanks! https://accounts.binance.com/register?ref=P9L9FQKY
Really well-written article! 👏 I enjoyed the way you broke down the topic—it feels very genuine and helpful, not just theory. The practical tips make it easy for readers like me to connect and actually take something useful away.At meinestadtkleinanzeigen.de , we’re building a directory and classifieds platform in Germany where people can discover businesses, services, and opportunities across many categories. That’s why I especially value content like yours, because it shows how sharing knowledge online can really create connections.Keep up the great work—I’ll definitely be following along for more insights! 🚀
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
💡 Excellent work on this ultimate guide! every paragraph is packed with value. It’s obvious a lot of research and love went into this piece. If your readers want to put these 7 steps into action immediately, we’d be honoured to help: 👉 https://meinestadtkleinanzeigen.de/ – Germany’s fastest-growing kleinanzeigen & directory hub. • 100 % free listings • Auto-sync to 50+ local citation partners • Instant push to Google Maps data layer Drop your company profile today and watch the local calls start rolling in. Keep inspiring, and thanks again for raising the bar for German SEO content!
Thanks I have just been looking for information about this subject for a long time and yours is the best Ive discovered till now However what in regards to the bottom line Are you certain in regards to the supply
Fantastic read! 👏 I really appreciate how clearly you explained the topic—your writing not only shows expertise but also makes the subject approachable for a wide audience. It’s rare to come across content that feels both insightful and practical at the same time. At explodingbrands.de we run a growing directory site in Germany that features businesses from many different categories. That’s why I truly value articles like yours, because they highlight how knowledge and visibility can create stronger connections between people, services, and opportunities.Keep up the great work—I’ll definitely be checking back for more of your insights! 🚀
I do agree with all the ideas you have introduced on your post They are very convincing and will definitely work Still the posts are very short for newbies May just you please prolong them a little from subsequent time Thank you for the post
Wonderful web site Lots of useful info here Im sending it to a few friends ans additionally sharing in delicious And obviously thanks to your effort
Your writing has a way of resonating with me on a deep level. I appreciate the honesty and authenticity you bring to every post. Thank you for sharing your journey with us.
Thank you I have just been searching for information approximately this topic for a while and yours is the best I have found out so far However what in regards to the bottom line Are you certain concerning the supply
Wonderful web site Lots of useful info here Im sending it to a few friends ans additionally sharing in delicious And obviously thanks to your effort
Wow wonderful blog layout How long have you been blogging for you make blogging look easy The overall look of your site is great as well as the content
Its like you read my mind You appear to know so much about this like you wrote the book in it or something I think that you can do with a few pics to drive the message home a little bit but instead of that this is excellent blog A fantastic read Ill certainly be back
helloI really like your writing so a lot share we keep up a correspondence extra approximately your post on AOL I need an expert in this house to unravel my problem May be that is you Taking a look ahead to see you
h04o4d
Your passion for your subject matter shines through in every post. It’s clear that you genuinely care about sharing knowledge and making a positive impact on your readers. Kudos to you!
Thanks I have just been looking for information about this subject for a long time and yours is the best Ive discovered till now However what in regards to the bottom line Are you certain in regards to the supply
Normally I do not read article on blogs however I would like to say that this writeup very forced me to try and do so Your writing style has been amazed me Thanks quite great post
zh3s5a
Your blog is a beacon of light in the often murky waters of online content. Your thoughtful analysis and insightful commentary never fail to leave a lasting impression. Keep up the amazing work!
Your blog is a true hidden gem on the internet. Your thoughtful analysis and engaging writing style set you apart from the crowd. Keep up the excellent work!
Wonderful web site Lots of useful info here Im sending it to a few friends ans additionally sharing in delicious And obviously thanks to your effort
My brother suggested I might like this website He was totally right This post actually made my day You cannt imagine just how much time I had spent for this information Thanks
Usually I do not read article on blogs however I would like to say that this writeup very compelled me to take a look at and do so Your writing taste has been amazed me Thanks quite nice post
zk7qcn
Somebody essentially help to make significantly articles Id state This is the first time I frequented your web page and up to now I surprised with the research you made to make this actual post incredible Fantastic job
What i dont understood is in reality how youre now not really a lot more smartlyfavored than you might be now Youre very intelligent You understand therefore significantly in terms of this topic produced me personally believe it from a lot of numerous angles Its like women and men are not interested except it is one thing to accomplish with Woman gaga Your own stuffs outstanding Always care for it up
Fantastic site A lot of helpful info here Im sending it to some buddies ans additionally sharing in delicious And naturally thanks on your sweat
Your blog is a constant source of inspiration for me. Your passion for your subject matter shines through in every post, and it’s clear that you genuinely care about making a positive impact on your readers.
you are in reality a just right webmaster The site loading velocity is incredible It seems that you are doing any unique trick In addition The contents are masterwork you have performed a wonderful task on this topic
Nice blog here Also your site loads up very fast What host are you using Can I get your affiliate link to your host I wish my site loaded up as quickly as yours lol
Your blog is a true hidden gem on the internet. Your thoughtful analysis and in-depth commentary set you apart from the crowd. Keep up the excellent work!
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
917dyt
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Your article helped me a lot, is there any more related content? Thanks!
Your point of view caught my eye and was very interesting. Thanks. I have a question for you. https://www.binance.info/en-NG/register?ref=JHQQKNKN
Thanks for sharing. I read many of your blog posts, cool, your blog is very good. https://www.binance.info/ar/register?ref=V2H9AFPY
💡 Excellent work on this ultimate guide! every paragraph is packed with value. It’s obvious a lot of research and love went into this piece. If your readers want to put these 7 steps into action immediately, we’d be honoured to help: 👉 https://meinestadtkleinanzeigen.de/ – Germany’s fastest-growing kleinanzeigen & directory hub. • 100 % free listings • Auto-sync to 50+ local citation partners • Instant push to Google Maps data layer Drop your company profile today and watch the local calls start rolling in. Keep inspiring, and thanks again for raising the bar for German SEO content!
💡 Excellent work on this ultimate guide! every paragraph is packed with value. It’s obvious a lot of research and love went into this piece. If your readers want to put these 7 steps into action immediately, we’d be honoured to help: 👉 https://meinestadtkleinanzeigen.de/ – Germany’s fastest-growing kleinanzeigen & directory hub. • 100 % free listings • Auto-sync to 50+ local citation partners • Instant push to Google Maps data layer Drop your company profile today and watch the local calls start rolling in. Keep inspiring, and thanks again for raising the bar for German SEO content!
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
l6znt2
oj0sen
9do5w2
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article. ustvarite racun na binance
Your article helped me a lot, is there any more related content? Thanks!
Reading your article has greatly helped me, and I agree with you. But I still have some questions. Can you help me? I will pay attention to your answer. thank you.