initial
This commit is contained in:
commit
74ae93a96e
1 changed files with 94691 additions and 0 deletions
46
joplin notion extension/Web Development/CSS/syncfusion.md
Normal file
46
joplin notion extension/Web Development/CSS/syncfusion.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
syncfusion
|
||||
for asp.net core
|
||||
https://ej2.syncfusion.com/aspnetcore/documentation/introduction
|
||||
|
||||
|
||||
Installation on linux
|
||||
https://www.baeldung.com/linux/asp-net-server
|
||||
|
||||
textbox
|
||||
https://ej2.syncfusion.com/aspnetcore/documentation/textbox/getting-started
|
||||
|
||||
grids
|
||||
|
||||
|
||||
|
||||
**asp.net core**
|
||||
in asp.net core in model class we cant have our own default constructor. reason can be that they have their own default constructors resulting in collision.
|
||||
- setup project
|
||||
`dotnet new webapp --output aspnetcoreapp --no-https`
|
||||
then
|
||||
`dotnet run`
|
||||
`dotnet watch run` for hot reloading
|
||||
|
||||
Adding syncfusion
|
||||
`dotnet add package Syncfusion.EJ2.AspNet.Core`
|
||||
then in `~/_ViewImports.cshtml`
|
||||
`@addTagHelper *, Syncfusion.EJ2`
|
||||
|
||||
in `~/_Layout.cshtml`
|
||||
```html
|
||||
|
||||
<head>
|
||||
...
|
||||
<!-- Syncfusion ASP.NET Core controls style -->
|
||||
<link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/28.2.3/material.css" />
|
||||
<!-- Syncfusion ASP.NET Core controls script -->
|
||||
<script src="https://cdn.syncfusion.com/ej2/28.2.3/dist/ej2.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
...
|
||||
<!-- Syncfusion ASP.NET Core Script Manager -->
|
||||
<ejs-scripts></ejs-scripts>
|
||||
</body>
|
||||
```
|
||||
|
||||
Loading…
Reference in a new issue