Skip to content

Karol memo

IT, dev, C#, .NET, blockchain, smart contracts, advices, problems and nutshell solutions

  • Blog
  • About
  • Contact

Monthly Archives: July 2020

How to stop void method (return in void method)

This is quick blog post about stopping executing void method. So, how to stop executing void return type method? We just need to use ‘return’ statement itself, for example: If we pass 0 as first argument then we won’t get print from next line.

Posted byKarol NJuly 28, 2020July 28, 2020Posted in.NET, C#, dev, IT, programmingTags:return, voidLeave a comment on How to stop void method (return in void method)

Run a site using the IIS Express in command line

Useful when we are writing tests and working with Selenium, and we want to inspect some element on page with DevTools. Open a command prompt and run the following command with appropriate paths: This command runs the app on http://localhost:9777

Posted byKarol NJuly 21, 2020July 21, 2020Posted indev, IT, programmingTags:IIS Express, iisexpress.exe, localhost, Selenium, testingLeave a comment on Run a site using the IIS Express in command line
  • Blog
  • About
  • Contact
Karol memo, Create a website or blog at WordPress.com
  • Follow Following
    • Karol memo
    • Already have a WordPress.com account? Log in now.
    • Karol memo
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar