Create an account


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,033
» Latest member: yivav62319
» Forum threads: 22,331
» Forum posts: 23,179

Full Statistics

Online Users
There are currently 789 online users.
» 3 Member(s) | 781 Guest(s)
Applebot, Baidu, Bing, Google, Yandex, andi01726, jakoh25766, yivav62319

 
  .NET Core Workers in Azure Container Instances
Posted by: xSicKxBot - 04-15-2019, 10:26 PM - Forum: C#, Visual Basic, & .Net Frameworks - No Replies

.NET Core Workers in Azure Container Instances

Avatar

In .NET Core 3.0 we are introducing a new type of application template called Worker Service. This template is intended to give you a starting point for writing long running services in .NET Core. In this walkthrough you’ll learn how to use a Worker with Azure Container Registry and Azure Container Instances to get your Worker running as a microservice in the cloud.

Since the Worker template Glenn blogged about is also available via the dotnet new command line, I can create one on my Mac and edit the code using Visual Studio for Mac or Visual Studio Code (which I’ll be using here to take advantage of the integrated Docker extension).

dotnet new worker

I’ll use the default from the Worker template. As it will write to logs during execution via ILogger, I’ll be able to tell quickly from looking in the logs if the Worker is running.

public class Worker : BackgroundService
{ private readonly ILogger<Worker> _logger; public Worker(ILogger<Worker> logger) { _logger = logger; } protected override async Task ExecuteAsync(CancellationToken stoppingToken) { while (!stoppingToken.IsCancellationRequested) { _logger.LogInformation("Worker running at: {time}", DateTimeOffset.Now); await Task.Delay(1000, stoppingToken); } }
}

Visual Studio Code’s Docker tools are intelligent enough to figure out this is a .NET Core app, and will suggest the correct Docker file via the Command Palette’s Add Docker files to workspace option.

By right-clicking the resulting Dockerfile I can build the Worker into a Docker image in one click.

The Build Image option will package my Worker’s code into a Docker container locally. The second option, ACR Tasks: Build Image would use Azure Container Registry Tasks to build the image in the cloud, rather than on disk. This is helpful for scenarios when the base image is larger than I want to download locally or when I’m building an application on a Windows base image from Linux or Mac. You can learn more about ACR Tasks in the ACR docs. The Azure CLI makes it easy to login to the Azure Container Registry using the Azure CLI. This results in my Docker client being authenticated to the Azure Container Registry in my subscription.

az acr login -n BackgroundWorkerImages

This can be done in the VS Code integrated terminal or in the local terminal, as the setting will be persisted across the terminals’ environment. It can’t be done using the cloud shell, since logging into the Azure Container Registry requires local shell access so local Docker images can be accessed. Before I push the container image into my registry, I need to tag the image with the URI of the image once it has been pushed into my registry. I can easily get the ACR instance URI from the portal.

I’ll copy the URI of the registry’s login server in the portal so I can paste it when I tag the image later.

By selecting the backgroundworker:latest image in Visual Studio Code’s Docker explorer pane, I can select Tag Image.

I’ll be prompted for the tag, and I can easily paste in the URI I copied from the portal.

Finally, I can right-click the image tag I created and select Push, and the image will be pushed into the registry. Once I have a Docker image in the registry, I can use the CLI or tools to deploy it to Azure Container Instances, Kubernetes, or even Azure App Service.

Now that the worker is containerized and stored in the registry, starting an instance of it is one click away.

Once the container instance starts up, I’ll see some logs indicating the worker is executing, but these are just the basic startup logs and not my information-level logs I have in my Worker code.

Since I added Information-level logs during the worker’s execution, the configuration in appsettings.json (or the environment variable for the container instance) will need to be updated to see more verbose logs.

{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.Hosting.Lifetime": "Information" } }
}

Once the code is re-packaged into an updated Docker image and pushed into the Azure Container Registry, following a simple Restart…

… more details will be visible in the container instance’s logging output.

The Worker template makes it easy to create long-running background workers that you can run for as long as you need in Azure Container Instances. New container instances can be created using the portal or the Azure Command Line. Or, you can opt for more advanced scenarios using Azure DevOps or Logic Apps. With the Worker template making it easy to get started building microservices using your favorite ASP.NET Core idioms and Azure’s arsenal of container orchestration services you can get your microservices up and running in minutes.

Avatar
Brady Gaster

Senior Program Manager, ASP.NET Core

Follow    

<!–


–>

Print this item

  PC - Dance of Death: Du Lac &amp;amp; Fey
Posted by: xSicKxBot - 04-15-2019, 10:20 PM - Forum: New Game Releases - No Replies

Dance of Death: Du Lac &amp; Fey



Victorian London is in peril. Jack the Ripper stalks the streets, tempting immortal Arthurian heroes, Sir Lancelot Du Lac and Morgana Le Fey, back to English shores. Will they arrive in time to end his reign of terror?

Publisher: Salix Games Ltd

Release Date: Apr 05, 2019

Print this item

  News - Esports teams and players to get revenue from new Rocket League Esports Shop
Posted by: xSicKxBot - 04-15-2019, 09:25 PM - Forum: Lounge - No Replies

Esports teams and players to get revenue from new Rocket League Esports Shop

Rocket League developer Psyonix is opening an Esports Shop that’ll funnel revenue back to esports teams and players.

The store will open for business on April 16 as part of the Rocket League Esports Shop pilot program (that’s a mouthful), and will feature items like decals, wheels, and player banners representing a variety of teams.

While teams will likely be keen to appear in the store for marketing reasons, there’s also a financial incentive, as all esports organizations participating in the pilot program will net 30 percent of revenue from related sales.

A portion of revenue from every item sold will also be distributed among players in the North American and European Rocket League Championship Series League Play via a prize pool bonus — irrespective of whether they’re a member of the pilot program.

Psyonix claims there’ll be opportunities for teams in Oceania and South American to participate in the revenue sharing program further down the line.

The store itself will appear in the Rocket League main menu under ‘shop’ following an update on April 16. It will feature six in-game items each day, which will be purchasable using a new currency called Esports Tokens.

Those tokens will be sold in packs of 100 ($0.99), 600 ($4.99), 1200 ($9.99), and 2500 ($19.99), and much like the items in the store itself won’t be tradable.

Print this item

  News - Respawn and Infinity Ward co-founder Jason West has joined Epic Games
Posted by: xSicKxBot - 04-15-2019, 09:25 PM - Forum: Lounge - No Replies

Respawn and Infinity Ward co-founder Jason West has joined Epic Games

Epic Games has made a notable hire in the form of Respawn and Infinity Ward co-founder Jason West.

According to The Game Awards creator and journalist Geoff Keighley, Epic brought in West around a month ago to help the company scale up its own internal development efforts. (Update: Speaking to Variety, Epic has since confirmed Keighley’s original report.)

As you’ll no doubt recall, Epic has been busy of late, opening its own Steam rival called the Epic Games Store and filling it with a variety of big-name exclusives like Borderlands 3, Metro: Exodus, and Control.

It’s unclear whether West will be working on existing projects like Fortnite, or new games that could be used to expand the Epic Games Store growing list of exclusives.

For those of you wondering why West left Respawn in the first place, the one-time Call of Duty overseer departed back in 2010 to spend more time with his family, and before that was fired from Activision for alleged insubordination.

Print this item

  News - Cytus Alpha Physical Release Due Out In North America Next Month
Posted by: xSicKxBot - 04-15-2019, 04:21 PM - Forum: Nintendo Discussion - No Replies

Cytus Alpha Physical Release Due Out In North America Next Month

Cytus Boxart

Earlier this year in January, PM Studios and acttil announced a physical and digital version of Cytus Alpha (or ‘Cytus α’) would be coming to the Switch in North America this April. Over the past few days, there have been reports the physical version had been delayed, and it’s now been confirmed.

Instead of arriving later this month, this version of the game will arrive in this region on 14th May. The digital version will still be released on 25th April. Apart from this, nothing else has changed. If you decide to purchase a physical copy of the game, you’ll still receive a special CD and exclusive box art (see above).


If you haven’t heard about this game before, it’s been developed by Rayark – the studio behind VOEZ and Deemo. Cytus Alpha features futuristic graphics, more than 200 songs (new and old) touch controls and online multiplayer – where players can engage in score battles. Here are all the details from the official PR:

  • Music: More than 200 tracks from the original release with over 400 Charts, and additional unreleased songs, including exclusive songs from Cytus Ω, which are available in Chapter Ω! and collaborations from Chapter Ω!
  • Visuals: Mesmerizing futuristic graphics with a new UI developed specifically for Nintendo Switch!
  • Story: An in-depth data system for diving into even deeper story engagement!
  • Difficulty: Easy to hard modes to satisfy beginners and veteran rhythm game players alike, and various musical tastes such as pop, jazz, trance, hardcore and more!

Do you like the sound of this game? Tell us down below.

Print this item

  News - Gotham Actor Plays Star Wars: Jedi Fallen Order's Main Character
Posted by: xSicKxBot - 04-15-2019, 04:21 PM - Forum: Lounge - No Replies

Gotham Actor Plays Star Wars: Jedi Fallen Order's Main Character

Star Wars: Jedi Fallen Order follows the story of a Padawan that escaped the Emperor's ruthless extermination of the Jedi, and developer Respawn Entertainment has brought in actor Cameron Monaghan to portray its main character, Cal Kestis. Fans were introduced to Kestis and Monaghan during the Jedi Fallen Order panel held at this year's Star Wars Celebration.

Monaghan is known for starring as Ian Gallagher in the TV series Shameless and, more recently, has made a name for himself playing Jerome and Jeremiah Valeska, a version of DC's iconic villain Joker in the Batman prequel series Gotham.

No Caption Provided
Gallery image 1Gallery image 2Gallery image 3Gallery image 4Gallery image 5Gallery image 6Gallery image 7Gallery image 8Gallery image 9Gallery image 10

His character, Cal Kestis, is on a journey to overcome the tragic events of his past while also attempting to complete his training to become a full-fledged Jedi. Of course, he's also fighting for his life, as the Empire and its Inquisitors have been empowered by Order 66 to wipe out the Jedi, and they're after him.

During the panel, developer Respawn Entertainment also confirmed that Star Wars: Jedi Fallen Order's release date as November 15. The game will be available on PS4, Xbox One, and PC through publisher EA's Origin service.

Star Wars Celebration also gave us the first trailer for next entry in the movie franchise and confirmed that the film will be titled Star Wars Episode IX: The Rise of Skywalker. You can watch the trailer here. If that wasn't enough Star Wars for you, Disney revealed that The Mandalorian, a spin-off TV series from Iron Man, Jungle Book, and The Lion King director Jon Favreau will be available when the Disney+ streaming service launches later this year.

Star Wars Celebration is sure to keep on delivering exciting news and tidbits about the future of the beloved franchise. You can stay up-to-date with all of it using our Star Wars Celebration roundup, which is being updated as and when new information is revealed.

Print this item

  News - Respawn Entertainment Is Well Aware Of The Demand For Apex Legends On Switch
Posted by: xSicKxBot - 04-15-2019, 04:21 PM - Forum: Nintendo Discussion - No Replies

Respawn Entertainment Is Well Aware Of The Demand For Apex Legends On Switch


During an interview in February this year with Eurogamer, Respawn Entertainment’s lead producer Drew McCoy said his team would “love” to bring its first-person battle royale game Apex Legends to the Nintendo Switch and mobile devices.

In a Wired Tech Support video posted earlier this week on YouTube, McCoy was asked once again about the possibility of Apex Legends coming to the Switch and said the team was aware of the demand for it. Here’s his full response:

“If Switch was coming, we would tell you and we would blast it across the world.”

“We are hearing all the Switch players who say they want the game. I can’t make any promises right now. We have a lot of things that we’re working on, so stay tuned for anything in the future. But currently, we don’t have anything to announce.”

Cross-play is also something the team is apparently looking into right now and “really care about” according to McCoy.

Would you like to see Apex Legends make the Switch? Have you played it on another platform? Tell us down below.

Print this item

  PC - Anno 1800
Posted by: xSicKxBot - 04-15-2019, 10:19 AM - Forum: New Game Releases - No Replies

Anno 1800



Anno 1800 ? Lead the Industrial Revolution! Welcome to the dawn of the Industrial Age. The path you choose will define your world. Are you an innovator or an exploiter? A conqueror or a liberator? How the world remembers your name is up to you.

Publisher: Ubisoft

Release Date: Apr 16, 2019

Print this item

  News - Pokemon Go: Shiny Buneary Appearing In New Eggstravaganza Event Next Week
Posted by: xSicKxBot - 04-15-2019, 10:19 AM - Forum: Lounge - No Replies

Pokemon Go: Shiny Buneary Appearing In New Eggstravaganza Event Next Week

Easter is just around the corner, and Niantic is celebrating by bringing back the annual Eggstravaganza event in Pokemon Go. The week-long Egg-themed event returns next week starting Tuesday, April 16, and this time around it'll give players their first chance to capture Shiny Buneary.

Throughout the Eggstravangaza, you'll be able to hatch baby Pokemon like Pichu, Smoochum, and Magby from 2 km Eggs, and you'll receive twice the typical amount of Candy for every Egg you hatch. On top of that, Incubators will be twice as effective for the duration of the event, while Lucky Eggs will last twice as long as normal.

Beyond that, Niantic will also be distributing special Field Research tasks revolving around Eggs at Poke Stops. Buneary will also appear in the wild much more frequently than normal, and if you're lucky, you may come across its Shiny version. You can find more details about the event on the Pokemon Go website.

No Caption Provided

In the meantime, Pokemon Go's second Legendary Lunch Hour event is set for April 10. Shortly after that, Niantic will host this month's Community Day. The monthly event returns this Saturday, April 13, and will feature the rare Dragon Pokemon Bagon. Then, starting April 15, the Legendary Latios will make an encore appearance as part of a special week-long Raid event.

In addition to all of the upcoming events, Niantic has a couple of new features on the way for Pokemon Go, namely the Lucky Friends mechanic. Each day, you'll have a chance to become Lucky Friends with a player you've become Best Friends with, which will guarantee you both receive a Lucky Pokemon in one trade. The developer is also adding avatar poses to Pokemon Go's in-game store. These run for 500 coins apiece and let you customize your Trainer's pose in the game.

Print this item

  News - Reminder: There’s Still Time To Vote For Your Favourite Game Boy Games!
Posted by: xSicKxBot - 04-15-2019, 10:19 AM - Forum: Nintendo Discussion - No Replies

Reminder: There’s Still Time To Vote For Your Favourite Game Boy Games!

Game Boy

Next week – 21st April to be precise – is the 30th anniversary of arguably the most iconic piece of hardware in the history of video gaming. Speak to someone who knows absolutely nothing about game consoles and they’ll still be able to name the Nintendo Game Boy and most probably whistle the tune to Tetris too. Its ubiquity in the early ’90s meant it became shorthand for gaming in general, part of the cultural fabric in a way that few other pieces of hardware can claim.

Next week we’ll be publishing several new articles in celebration of the humble handheld, plus digging through the archive to find the very best of our previously published features. We’ll also be posting a ‘Top 50 Game Boy Games’ article along the lines of our previous 50 Best Switch Games So Far and 50 Best 3DS Games features.

As with those selections, the ranking will be entirely based on User Ratings from the Nintendo Life Games database, so readers can rate any game they like and after a minimum threshold has been reached, that game then becomes eligible for the list according to its overall rating. This has worked well for the previous lists, and we’ve seen some interesting changes as the fluid ranking fluctuates over time. Of course, 3DS and Switch have plenty of user ratings already, but going back 30 years it’s inevitable that Game Boy games only have a fraction of votes compared to more modern systems.

That’s where you come in! We’ve updated our database to include all Game Boy titles that saw a release in the west, so in preparation for the 30th anniversary we’d love for you to rate your favourites using the specially designed tool below.

Assuming you’re logged in, simply scroll through the alphabetical list and click the star to bring up a rating of 1-10. Click on the score you think it deserves and you’re all done! If scrolling through six pages of the Game Boy’s substantial library feels too much like work, simply use the search bar at the top of the list to find your favourites and rate them from the list of results. Lovely!

If you need a reminder on a particular game, feel free to click the game title and check out our reviews and screenshots. However, bear in the mind that many of them won’t have been rereleased on Virtual Console and therefore may not have a Nintendo Life review to their name – the Game Boy’s over double the age of the site, remember! A Wikipedia link on the game page should hopefully job your memory, though.

So, what are you waiting for? Get stuck in!



It’s difficult to believe that 30 years have passed since Game Boy changed the portable gaming landscape forever. Thanks for voting – we’ll be sharing the results, our memories and more next week, but in the meantime feel free to reminisce below…

Print this item

 
Latest Threads
Ultrahuman Discount Code ...
Last Post: andi01726
1 minute ago
Ultrahuman Discount Code ...
Last Post: andi01726
2 minutes ago
REDEEM* {$100 off} Temu C...
Last Post: yivav62319
4 minutes ago
Biggest Temu Coupon Code ...
Last Post: yivav62319
5 minutes ago
[Editor's Pick] Temu Coup...
Last Post: jakoh25766
6 minutes ago
Ultrahuman Discount Code ...
Last Post: andi01726
6 minutes ago
Temu Coupon Code 50% Off ...
Last Post: yivav62319
7 minutes ago
[Verified Offer] Temu Cou...
Last Post: yivav62319
8 minutes ago
Temu big Coupon Code, {40...
Last Post: yivav62319
10 minutes ago
Temu Coupon Code ^40% Off...
Last Post: yivav62319
12 minutes ago

Forum software by © MyBB Theme © iAndrew 2016