Good day!
I am lost! I have developed a page in Blazor with Bootstrap and thought that the outcome would be the same as when I did webforms. With webforms the page scaled and fitted the mobile device. With blazor that seems not to be the case. Example would highly be appreciatd! I did it on .net 8
Thanks!
Jaco
JacoPosted Jan 29, 2025, 6:20 AM
Hello Tuhin
Thank you for this. I just don't understand the different tags. Will it have like a zoom effect or perhaps organize controls from top to bottom?
Thanks a million!
Jaco
Tuhin PaulPosted Jan 28, 2025, 3:16 PM
Part -2
The diagram clearly shows three main flows:
Tuhin PaulPosted Jan 28, 2025, 2:59 PM
Par -1
I understand your frustration with the scaling issue in Blazor. The key difference between Blazor and WebForms is how layout and responsiveness are handled. Blazor doesn’t automatically handle viewport scaling in the same way WebForms does, so you may need to manually adjust the layout.
Simple Blazor page using Bootstrap that scales properly on mobile devices
This tag is crucial for ensuring the page scales properly on mobile devices. Without this, the page may not respond well to different screen sizes.
Sangeetha SPosted Jan 28, 2025, 10:40 AM
It sounds like you're encountering some challenges with responsive design in Blazor compared to WebForms. While both frameworks can use Bootstrap for styling, the way you implement responsiveness can differ.
Key Differences:
Example of Responsive Design in Blazor with Bootstrap:
Here’s a simple example of a responsive layout in Blazor: