Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

891562: Need to move the latest changes to public repo #11

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**/.vs/
.git/
**/bin/
**/obj
2 changes: 1 addition & 1 deletion Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -315,4 +315,4 @@ public DiagramBpmnActivity Activity
}

}
}
}
13 changes: 13 additions & 0 deletions DiagramBuilder_NET8.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Syncfusion.EJ2.AspNet.Core" Version="26.1.35" />
</ItemGroup>

</Project>
16 changes: 16 additions & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>

<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<disabledPackageSources />
<activePackageSource>
<add key="All" value="(Aggregate source)" />
</activePackageSource>
</configuration>
49 changes: 25 additions & 24 deletions Program.cs
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace SyncfusionWebApp3
var builder = WebApplication.CreateBuilder(args);

// Add services to the container.
builder.Services.AddControllersWithViews();

var app = builder.Build();

// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}

public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
}
app.UseExceptionHandler("/Home/Error");
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
app.UseHsts();
}

app.UseHttpsRedirection();
app.UseStaticFiles();

app.UseRouting();

app.UseAuthorization();

app.MapControllerRoute(
name: "default",
pattern: "{controller=Home}/{action=Index}/{id?}");

app.Run();
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
# ej2-aspnetcore-diagram-builder
The aspnetcore diagram builder application is used to create the diagrams such as "Flow Charts", "MindMap Diagrams" and "Organization Chart" through Visual Interface.

# Run the sample browser using the below command
## Deployment

dotnet watch run
### Requirements to run the demo

The sample requires the below requirements to run.

* [Visual Studio 2022](https://visualstudio.microsoft.com/vs/)
* [.NET 8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)

### Run

* Clone this repository.
* Open the command prompt from Application root directory.
* Run the demo using `dotnet run` command.

## Demo

### <a href="https://ej2.syncfusion.com/showcase/aspnetcore/diagrambuilder/" target="_blank">https://ej2.syncfusion.com/showcase/aspnetcore/diagrambuilder/</a>

Check all the showcase samples from <a href="https://ej2.syncfusion.com/home/aspnetcore.html" target="_blank">here</a>.
79 changes: 0 additions & 79 deletions Startup.cs

This file was deleted.

11 changes: 0 additions & 11 deletions SyncfusionWebApp3.csproj

This file was deleted.

14 changes: 7 additions & 7 deletions Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -755,32 +755,32 @@
<div class="row db-prop-row">
<div class="col-xs-6 org-pattern-parent">
<div onclick="OrgChartPropertyBinding.prototype.layoutOrientationChange(event)" class="org-pattern-style org-pattern-1 vertical-alternate"
style="background-image: url('css/assets/dbstyle/orgchart_images/org-pattern1.svg')">
style="background-image: url('./css/assets/dbstyle/orgchart_images/org-pattern1.svg')">
</div>
</div>
<div class="col-xs-6 org-pattern-parent">
<div onclick="OrgChartPropertyBinding.prototype.layoutOrientationChange(event)" class="org-pattern-style org-pattern-2 vertical-left"
style="background-image: url('css/assets/dbstyle/orgchart_images/org-pattern2.svg')"></div>
style="background-image: url('./css/assets/dbstyle/orgchart_images/org-pattern2.svg')"></div>
</div>
</div>
<div class="row db-prop-row" style="margin-top:5px">
<div class="col-xs-6 org-pattern-parent">
<div onclick="OrgChartPropertyBinding.prototype.layoutOrientationChange(event)" class="org-pattern-style org-pattern-3 vertical-right"
style="background-image: url('css/assets/dbstyle/orgchart_images/org-pattern3.svg')"></div>
style="background-image: url('./css/assets/dbstyle/orgchart_images/org-pattern3.svg')"></div>
</div>
<div class="col-xs-6 org-pattern-parent">
<div onclick="OrgChartPropertyBinding.prototype.layoutOrientationChange(event)" class="org-pattern-style org-pattern-4 horizontal-center"
style="background-image: url('css/assets/dbstyle/orgchart_images/org-pattern4.svg')"></div>
style="background-image: url('./css/assets/dbstyle/orgchart_images/org-pattern4.svg')"></div>
</div>
</div>
<div class="row db-prop-row" style="margin-top:5px">
<div class="col-xs-6 org-pattern-parent">
<div onclick="OrgChartPropertyBinding.prototype.layoutOrientationChange(event)" class="org-pattern-style org-pattern-5 horizontal-right"
style="background-image: url('css/assets/dbstyle/orgchart_images/org-pattern5.svg');"></div>
style="background-image: url('./css/assets/dbstyle/orgchart_images/org-pattern5.svg');"></div>
</div>
<div class="col-xs-6 org-pattern-parent">
<div onclick="OrgChartPropertyBinding.prototype.layoutOrientationChange(event)" class="org-pattern-style org-pattern-6 horizontal-left"
style="background-image: url('css/assets/dbstyle/orgchart_images/org-pattern6.svg')"></div>
style="background-image: url('./css/assets/dbstyle/orgchart_images/org-pattern6.svg')"></div>
</div>
</div>
<div class="db-prop-separator">
Expand Down Expand Up @@ -1157,7 +1157,7 @@
</ejs-listview>
</div>
<div class="col-xs-9 diagramTemplates temp-right-pane" style="padding-left:0px;padding-right:0px">
<img id="shapePreviewImage" src="css/assets/dbstyle/shapes_images/flow.png" />
<img id="shapePreviewImage" src="./css/assets/dbstyle/shapes_images/flow.png" />
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Create flowchart, mind map, org chart with syncfusion diagram builder</title>
<link rel="icon" type="image/x-icon" href="~/favicon.ico" />
<base href = "/" />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'>
<link href="~/css/assets/index.css" rel="stylesheet" />
Expand Down
14 changes: 0 additions & 14 deletions package-lock.json

This file was deleted.

8 changes: 0 additions & 8 deletions package.json

This file was deleted.

25 changes: 25 additions & 0 deletions web.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!--
Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380
-->
<system.webServer>
<security>
<requestFiltering>
<fileExtensions allowUnlisted="true">
<remove fileExtension="." />
<remove fileExtension=".cs" />
<add fileExtension="." allowed="true" />
<add fileExtension=".cs" allowed="true" />
</fileExtensions>
</requestFiltering>
</security>
<!--<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
</handlers>-->
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false" startupTimeLimit="3600" requestTimeout="23:00:00" hostingModel="inprocess" />
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
</system.webServer>
</configuration>

Large diffs are not rendered by default.

Loading