Coder Social home page Coder Social logo

contosocrafts's People

Contributors

alexhedley avatar bradygaster avatar jamesmontemagno avatar jongalloway avatar kkbrooks avatar zahrab21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contosocrafts's Issues

Toggler-button does not always work

class=”navbar-toggleable-sm” does not exist in Bootstrap, css.
Toggler-button does not always work: my long menu stretches out longer than the navigation
scr_menuProblem.pdf
bar, header, body and footer (longer than container's/page's width). It is true for ContosoCrafts and any Asp.Net Core web app template.
In Chrome toggler-button appears, when I re-size to minimum browser window width, in Edge – not at all.
The same is on a phone.
See attached screen-shots, my https://www.violetHeathDesign.com
Any suggestions, please?

Hi! ESC_POS_USB_NET nuget

My question is for other things , i know you use ESC_POS_USB_NET, i need to know how to do you do the imagen more small size adding space before and after.
Can you help me thx!

Card grid not working Styling a Razor Page | ASP.NET Core 101 [6 of 13]

I had trouble making the cards show up in more than one column. I went through the Bootstrap files inside lib/bootstrap/dist/css and I couldn't find the .card-coulmns class. So I went to the Bootstrap documentation and found a different way to make the columns: https://getbootstrap.com/docs/5.1/components/card/#grid-cards ; https://getbootstrap.com/docs/5.1/layout/grid/#row-columns. Basically we use row-cols classes to define a grid.

That's the solution that worked for me.

Roslyn warning CS8603, Possible null reference return.

I'm following along the videos for this tutorial. I created a new project using Visual Studio 2022. When I copied the contents of JsonFileProductService.cs into my project, this file had a compiler warning #CS8603, "Possible null reference return" on line 28, specifically the part that uses jsonFileReader.ReadToEnd(). At this point, I have a few options:

  • Remove the <Nullable>enable</Nullable> line from the default csproj file. Notice that this project does not include a Nullable line in it's csproj.
  • Wrap the code in #pragma, like this:
#pragma warning disable CS8603 // Possible null reference return.
                return JsonSerializer.Deserialize<Product[]>(jsonFileReader.ReadToEnd(), new JsonSerializerOptions
                {
                    PropertyNameCaseInsensitive = true
                });
#pragma warning restore CS8603 // Possible null reference return.
  • Ignore the warning.

I think the correct call is to remove the nullable line from the csproj, because that will make my code look more like the code in this repo.

Create endpoint on .NET6

app.MapGet("/products", (context) =>
{
IEnumerable products = app.Services.GetService().GetProducts();
var json = JsonSerializer.Serialize<IEnumerable>(products);
return context.Response.WriteAsync(json);
});

No gists in the README

In video 5 of the tutorial ("Data in a Razor Page"), Scott promised there would be gists in the README. Where are they?

Got the problem about "popup" window

Hi, I follow the tutorial and blocking on the popup window step.
I completely copy the code of ProductList.razor to avoid any typos and still can't pop up the window when click "More Info".
I have switched different browser, and make sure the browser did not block the popup window.
And of course there is no error message.
Furthermore, my main layout is different as the tutorials'. On my side, the main page only display one line with one product. I don't have serval products displayed in one line as showed in the YouTube.
I am bit of doubt about bootstrap version problem? I use 5.1.3.

Let me know, thanks.

Modal does not appear on first click.

When clicking the "More Info" button in the completed project, the div.modal does not appear. This happens in Edge (Chrome), Chrome, and Firefox. A second click on "More Info" shows the box.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.