# Abhinaba Basu

A blog on coding, .NET, .NET Compact Framework and life in general....

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Identifying your Arduino board from code

DevFeed: [Identifying your Arduino board from code](<https://devfeed.tech/articles/identifying-your-arduino-board-from-code-20705.md>)

Original publisher: [Read original article](<https://docs.microsoft.com/archive/blogs/abhinaba/identifying-your-arduino-board-from-code>)

Author: Abhinaba Basu \[MSFT\]

Published: 2016-02-21T16:18:49Z

Content type: article

Language: en

Sources: [Abhinaba Basu](<https://devfeed.tech/sources/abhinaba-basu.md>)

Topics: [Arduino](<https://devfeed.tech/topics/arduino.md>)

Tags: [arduino](<https://devfeed.tech/tags/arduino.md>), [arduino-ide](<https://devfeed.tech/tags/arduino-ide.md>), [avr](<https://devfeed.tech/tags/avr.md>), [board](<https://devfeed.tech/tags/board.md>), [code](<https://devfeed.tech/tags/code.md>), [esp8266](<https://devfeed.tech/tags/esp8266.md>), [github](<https://devfeed.tech/tags/github.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [iot](<https://devfeed.tech/tags/iot.md>), [powershell](<https://devfeed.tech/tags/powershell.md>), [serial](<https://devfeed.tech/tags/serial.md>)

### AI overview

The Arduino IDE's selected board can drive board-specific code through compile-time defines. The excerpt says each board's `boards.txt` entry has a `.board` value; prefixing it with `ARDUINO_` yields a define such as `ARDUINO_AVR_MEGA2560`. A PowerShell routine recursively searches for `boards.txt`, pairs board names with `.board` values, and prints those defines. The author uses them with `#ifdef` to select `Serial1` for a Mega 2560 and `Serial` for a Nano. The examples and file location are from Arduino IDE 1.6.5.

### Source excerpt

For my IoT project I needed to write code slightly differently for specific Arduino boards. E.g....

## ESP8266 Wifi With Arduino Uno and Nano

DevFeed: [ESP8266 Wifi With Arduino Uno and Nano](<https://devfeed.tech/articles/esp8266-wifi-with-arduino-uno-and-nano-20702.md>)

Original publisher: [Read original article](<https://docs.microsoft.com/archive/blogs/abhinaba/esp8266-wifi-with-arduino-uno-and-nano>)

Author: Abhinaba Basu \[MSFT\]

Published: 2016-01-23T15:37:42Z

Content type: tutorial

Language: en

Sources: [Abhinaba Basu](<https://devfeed.tech/sources/abhinaba-basu.md>)

Topics: [ESP8266](<https://devfeed.tech/topics/esp8266.md>), [Arduino](<https://devfeed.tech/topics/arduino.md>), [Internet of things](<https://devfeed.tech/topics/iot.md>), [Embedded Systems](<https://devfeed.tech/topics/embedded-systems.md>)

Tags: [arduino](<https://devfeed.tech/tags/arduino.md>), [esp8266](<https://devfeed.tech/tags/esp8266.md>), [nano](<https://devfeed.tech/tags/nano.md>), [uno](<https://devfeed.tech/tags/uno.md>), [wifi](<https://devfeed.tech/tags/wifi.md>)

### AI overview

The excerpt's key setup constraints are that the ESP8266 needs a separate 3.3V supply capable of about 200mA, and Uno/Nano serial communication requires reducing the module's baud rate from 115200 to 9600 for SoftwareSerial. The author recommends a shared ground and a resistor voltage divider on Arduino TX to protect the ESP8266's 3.3V RX input. They use Nano pins 8 and 9, noting D2/D3 failed in their tests, and provide a serial repeater sketch to pass PC commands through the Arduino. After setting the baud rate with AT+CIOBAUD=9600, the excerpt reports successful Wi-Fi scanning and connection commands. It distinguishes Uno/Nano from Mega, which has additional hardware serial capability; details here focus on Uno/Nano.

### Source excerpt

If you are trying to add Wifi connectivity to an existing Arduino project or have serious...

## Publishing a ASP.NET 5 Web-Application to IIS Locally

DevFeed: [Publishing a ASP.NET 5 Web-Application to IIS Locally](<https://devfeed.tech/articles/publishing-a-asp-net-5-web-application-to-iis-locally-20709.md>)

Original publisher: [Read original article](<https://docs.microsoft.com/archive/blogs/abhinaba/publishing-a-asp-net-5-web-application-to-iis-locally>)

Author: Abhinaba Basu \[MSFT\]

Published: 2015-12-22T18:10:48Z

Content type: tutorial

Language: en

Sources: [Abhinaba Basu](<https://devfeed.tech/sources/abhinaba-basu.md>)

Topics: [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Web app](<https://devfeed.tech/topics/webapp.md>)

Tags: [64-bit](<https://devfeed.tech/tags/64-bit.md>), [application](<https://devfeed.tech/tags/application.md>), [asp-net](<https://devfeed.tech/tags/asp-net.md>), [file-system](<https://devfeed.tech/tags/file-system.md>), [internet](<https://devfeed.tech/tags/internet.md>), [local](<https://devfeed.tech/tags/local.md>), [manager](<https://devfeed.tech/tags/manager.md>), [network](<https://devfeed.tech/tags/network.md>), [publishing](<https://devfeed.tech/tags/publishing.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

The excerpt describes one approach to publishing an ASP.NET 5 application to local IIS and reaching it from other devices on the same network. In Visual Studio, the author selects x64, publishes a 64-bit Release build to a folder under the IIS web root, and adds an IIS application pointing specifically to that folder's inner wwwroot directory, where the web.config resides. After restarting the site, the author accesses it locally and enables "World Wide Web Services" through Windows Firewall to allow network access, using the server's IP address found with ipconfig. The excerpt does not explain why x64 is chosen or address questions about the application pool and HttpPlatformHandler; commenters note that the approach differs from the official documentation.

### Source excerpt

I ran into few issues and discovered some kinks in publishing the new ASP.NET 5 Web-Application to...

## Dual Booting Ubuntu and Windows 10

DevFeed: [Dual Booting Ubuntu and Windows 10](<https://devfeed.tech/articles/dual-booting-ubuntu-and-windows-10-20701.md>)

Original publisher: [Read original article](<https://docs.microsoft.com/archive/blogs/abhinaba/dual-booting-ubuntu-and-windows-10>)

Author: Abhinaba Basu \[MSFT\]

Published: 2015-11-17T11:53:22Z

Content type: tutorial

Language: en

Sources: [Abhinaba Basu](<https://devfeed.tech/sources/abhinaba-basu.md>)

Topics: [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [boot](<https://devfeed.tech/topics/boot.md>), [bitlocker](<https://devfeed.tech/topics/bitlocker.md>)

Tags: [bios](<https://devfeed.tech/tags/bios.md>), [bitlocker](<https://devfeed.tech/tags/bitlocker.md>), [boot](<https://devfeed.tech/tags/boot.md>), [dual-boot](<https://devfeed.tech/tags/dual-boot.md>), [firmware](<https://devfeed.tech/tags/firmware.md>), [install](<https://devfeed.tech/tags/install.md>), [installer](<https://devfeed.tech/tags/installer.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [ntfs](<https://devfeed.tech/tags/ntfs.md>), [partition](<https://devfeed.tech/tags/partition.md>), [r](<https://devfeed.tech/tags/r.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [windows](<https://devfeed.tech/tags/windows.md>), [windows-10](<https://devfeed.tech/tags/windows-10.md>)

### AI overview

The author's method for dual-booting Ubuntu 15.10 with Windows 10 on a Lenovo X1 Carbon with TPM, Secure Boot, and BitLocker is to prepare a FAT32 installer USB, turn off BitLocker, ensure an empty target partition, and disable Secure Boot in UEFI firmware before booting the installer. They also enable legacy boot on their Lenovo and launch the USB through Windows' "Use a Device" boot menu. These steps reflect the author's experience; a commenter says Ubuntu has supported Secure Boot since version 12.10 and argues it may not need to be disabled, while the author reports being unable to make dual boot work otherwise. The excerpt does not include the installation wizard's subsequent choices.

### Source excerpt

Even though I hit a ton of online resources outlining the details, I struggled a lot getting this...

## List of Modules loaded

DevFeed: [List of Modules loaded](<https://devfeed.tech/articles/list-of-modules-loaded-20706.md>)

Original publisher: [Read original article](<https://docs.microsoft.com/archive/blogs/abhinaba/list-of-modules-loaded>)

Author: Abhinaba Basu \[MSFT\]

Published: 2015-03-31T11:41:53Z

Content type: article

Language: en

Sources: [Abhinaba Basu](<https://devfeed.tech/sources/abhinaba-basu.md>)

Topics: [Process](<https://devfeed.tech/topics/process.md>), [.NET](<https://devfeed.tech/topics/net.md>), [RISC OS](<https://devfeed.tech/topics/riscos.md>)

Tags: [command-line](<https://devfeed.tech/tags/command-line.md>), [debugger](<https://devfeed.tech/tags/debugger.md>), [filter](<https://devfeed.tech/tags/filter.md>), [github](<https://devfeed.tech/tags/github.md>), [gui](<https://devfeed.tech/tags/gui.md>), [modules](<https://devfeed.tech/tags/modules.md>), [native](<https://devfeed.tech/tags/native.md>), [win32](<https://devfeed.tech/tags/win32.md>)

### AI overview

The author describes a small, native command-line tool (under 100 KB) that uses Win32 APIs to list loaded modules in processes matching a name filter. The example searches 150 processes for "note" and prints matching process names, IDs, module paths, and addresses. The author presents it as an alternative to using a GUI such as Process Explorer or attaching a debugger, which they find cumbersome or intrusive, and points readers to the source and binary.

### Source excerpt

While working on the .NET Loader and now in Bing where I am right now working on some features...

## .NET RyuJIT Rocks

DevFeed: [.NET RyuJIT Rocks](<https://devfeed.tech/articles/net-ryujit-rocks-20708.md>)

Original publisher: [Read original article](<https://docs.microsoft.com/archive/blogs/abhinaba/net-ryujit-rocks>)

Author: Abhinaba Basu \[MSFT\]

Published: 2014-11-04T14:33:41Z

Content type: news

Language: en

Sources: [Abhinaba Basu](<https://devfeed.tech/sources/abhinaba-basu.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [JIT](<https://devfeed.tech/topics/jit.md>)

Tags: [bing](<https://devfeed.tech/tags/bing.md>), [fast](<https://devfeed.tech/tags/fast.md>), [jit](<https://devfeed.tech/tags/jit.md>), [net](<https://devfeed.tech/tags/net.md>), [reduction](<https://devfeed.tech/tags/reduction.md>), [stable](<https://devfeed.tech/tags/stable.md>), [startup](<https://devfeed.tech/tags/startup.md>), [traffic](<https://devfeed.tech/tags/traffic.md>)

### AI overview

The Bing team reports that using the RyuJIT CTP on .NET 4.5.1 sharply reduced startup time and subsequent JIT time for workloads involving thousands of assemblies and millions of methods. The post cites a 25% startup-time reduction in one Bing scenario and says CTP bits were stable enough to serve live traffic. These are team-reported results for its workloads; the excerpt provides no detailed benchmark methodology or comparative data.

### Source excerpt

As the CLR team announced a few days back, CTP for the new fast JIT from .NET (code named RyuJIT)...

## .NET Just in Time Compilation and Warming up Your System

DevFeed: [.NET Just in Time Compilation and Warming up Your System](<https://devfeed.tech/articles/net-just-in-time-compilation-and-warming-up-your-system-20707.md>)

Original publisher: [Read original article](<https://docs.microsoft.com/archive/blogs/abhinaba/net-just-in-time-compilation-and-warming-up-your-system>)

Author: Abhinaba Basu \[MSFT\]

Published: 2014-09-29T12:23:49Z

Content type: article

Language: en

Sources: [Abhinaba Basu](<https://devfeed.tech/sources/abhinaba-basu.md>)

Topics: [JIT](<https://devfeed.tech/topics/jit.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [assembly](<https://devfeed.tech/tags/assembly.md>), [bottlenecks](<https://devfeed.tech/tags/bottlenecks.md>), [breakpoint](<https://devfeed.tech/tags/breakpoint.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [csc](<https://devfeed.tech/tags/csc.md>), [debug](<https://devfeed.tech/tags/debug.md>), [debugger](<https://devfeed.tech/tags/debugger.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [exception](<https://devfeed.tech/tags/exception.md>), [execution](<https://devfeed.tech/tags/execution.md>), [extensions](<https://devfeed.tech/tags/extensions.md>), [jit](<https://devfeed.tech/tags/jit.md>), [net](<https://devfeed.tech/tags/net.md>), [scaling](<https://devfeed.tech/tags/scaling.md>)

### AI overview

The .NET CLR JIT compiles methods on first execution, at method granularity: in the example, `a()` is compiled before `b()`, and calling `b()` reaches a fixup thunk that triggers JIT compilation on the same thread. The CLR then patches the thunk to jump to `b()`'s native code. Because only executed branches trigger downstream methods, warming one path may leave other branch targets uncompiled. For startup latency, the article describes NGEN, multicore or forced JIT, and warmer queries; it also recommends moving rarely used error handling into separate methods. Its sample `RuntimeHelpers.PrepareMethod` approach can force compilation across selected assemblies and be parallelized, but lacks error handling. The guidance is based on the described example and notes caveats such as inlining.

### Source excerpt

One of the primary obstacle we face while scaling our system is Just In Time (JIT) compilation of...

## Use of SuppressIldasmAttribute

DevFeed: [Use of SuppressIldasmAttribute](<https://devfeed.tech/articles/use-of-suppressildasmattribute-20710.md>)

Original publisher: [Read original article](<https://docs.microsoft.com/archive/blogs/abhinaba/use-of-suppressildasmattribute>)

Author: Abhinaba Basu \[MSFT\]

Published: 2014-09-17T14:45:15Z

Content type: opinion

Language: en

Sources: [Abhinaba Basu](<https://devfeed.tech/sources/abhinaba-basu.md>)

Topics: [Cybersecurity](<https://devfeed.tech/topics/cybersecurity.md>)

Tags: [assembly](<https://devfeed.tech/tags/assembly.md>), [build](<https://devfeed.tech/tags/build.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>)

### AI overview

The author traced a persistent `ildasm` failure on one assembly to `[assembly: SuppressIldasmAttribute]`, which is intended to prevent `ildasm` from disassembling that assembly. They argue the attribute offers a false sense of security because other disassemblers, such as Reflector, can still inspect it, and recommend against using it. The excerpt does not establish why the attribute was added to the assembly.

### Source excerpt

We use ildasm in our build deployment pipeline. Recently one internal partner pinged me saying...