midava

u/midava


r/celebritycruises•

I just received the following email from Celebrity for a cruise we're taking in two weeks.

"Bring your passport, a photo of the ID page on your phone, and one printed copy per port visited."

Can some one explain what they want, and is the 'printed copy per port' referring to the Passport, ID Page, or both?

19

r/celebritycruises•

I'm going on a Celebrity cruise in March 2024 and I'm considering buying the Non-Alcoholic drink package now in order to take advantage of the 'Black Friday' pricing: $26.99 per day vs $30.00.

My question: Do the meals include soft drinks or do you need to pay for those? If the drink package is only for use the rest of the day it doesn't seem like much of a bargain. How much does something like a Coke cost if you just buy it?

117

r/Blazor•

I'm new to Blazor and Azure so I'm probably missing something simple, but I've tried publishing a Blazor Wasm .Net 8 App to Azure and keep getting build errors. I have it set to automatically update on a commit and it's resulting in the following messages:

To build this project, the following workloads must be installed: wasm-tools

To install these workloads, run the following command: dotnet workload restore

I've run the 'dotnet workload restore' a couple of times and it reports success. I've also tried 'dotnet workload install wasm-tools' (at the suggestion of ChatGPT) which downloaded a number of files but still didn't resolve the issue.

I've run out of things to try and would a

612

r/Blazor•

I'm just getting in to using TailwindCss with Blazor and have zero background with JavaScript. A number of components/templates I see on the TailwindCss site are labeled 'Requires JS'. I haven't been able to figure exactly what this means in terms of adding it to a Blazor Wasm project. I'd appreciate any advise (or link to an article) that explains how to make this work.

12

r/Blazor•

I'm trying to figure out how to implement a Service that listens to the Resize event and always contains the current dimensions. I've looked at a number of examples and tried Ed Charbeneau's BlazorSize, but everything seems to be for .Net 6 and I am unable to get them to work. The only example I found that works for me it is this, but I can't figure out how to turn it into a service. (I suck at java script)

If anyone has an example that works with .Net 7 I'd be grateful.

16

r/Blazor•

What's the trick to getting a string to render as html instead of with the literal html code in a Blazor component?

If I define a string as:

string name = "Ron Burgundy";
string htmlName = $"<span class=\"lead\">{name}</span>";

When I use it in the razor section

Name: @htmlName<br />

I get

Name: <span class="lead">Ron Burgundy</span>

Instead of:

Name: Ron Burgundy

I've tried this with a string as well as HtmlString but didn't have any luck.

Any help would be appreciated.

19

r/flying•

I know there's no pat answer and it depends a lot on the person, but I'm about to start flight lessons at 62 years old and am wondering if it's just too late if I'm only going to be able to fly for 8-10 years? I'm healthy, already have my 3rd class medical (and passed the written exam), but I'm concerned about being effectively grounded by not being able to get insurance in my 70's. Having to fly with a CFI isn't appealing as the whole point of getting a PPL, for me, is the freedom to go on weekend excursions and visit friends and family.

3947

r/flying•

I'm interested in getting PPL in Las Vegas. From what I see most of the schools are located near North Las Vegas Airport (VGT) and and Henderson Executive Airport (HSH). I'm curious if anyone familiar with the area has an opinion about advantages/disadvantages of training in the north vs. south? Also any feedback about flight schools and CFI's is welcomed.

15


r/Blazor•

Does anyone have an example of how to successfully get the remote IP from the connecting client? I've tried using IHttpContextAccessor as suggested here: How to use the httpcontext to retrieve information but when I call

IPAddress = httpContextAccessor.HttpContext.Connection.RemoteIpAddress.ToString();    

all I'm getting is '::1'. (I am able to successfully get the 'User-Agent' information)

httpContextAccessor.HttpContext.Connection.RemoteIpAddress.MapToIPv4().ToString();

Returns '0.0.0.1'

Any example using a recent version of Blazor build would be

21

r/Blazor•

Does anyone have feedback (good or bad) about working with any of the 3rd party Blazor controls from commercial providers like Telerik, DevExpress, Syncfusion, Radzen, ComponentOne?

913

r/csharp•

I'm looking for a way to read the results of a SQL query when the data and types are unknown. Ideally I'd like to do it with Entity Framework but ADO.Net is fine too.

Conceptually I want to be able to do a query like:

// Get Recordset
rs = "SELECT * FROM People"

// For each record in results
foreach(var r in rs)
{
    // For each column in record 
    foreach(var c in rs.Columns)
    {
          // Determine data type

          // Do something with the data 		
    }
}

The real goal is to be able to execute any SQL query and then export it to Excel while maintaining the data types.

I've tried Googling this but haven't had any luck

97