Base solution for your next web application

Activities of "ismcagdas"

Select2 is not included in ASP.NET Zero by default. First you should include select2 javascript (select2.js) and css files (select2.min.css & select2-bootstrap.min.css).

Your select item also must have class name 'select2me' , because metronic handles it this way.

If you create modal on the fly, then you must also trigger jquery select2 by yourself on modal's '' event.

Example html:

<select class="form-control select2me select2-multiple" multiple>
	<optgroup label="Alaskan">
		<option value="AK">Alaska</option>
		<option value="HI" disabled="disabled">Hawaii</option>

Example js for modal shown:

modal.on('', function () {
		placeholder: "Select",
		width: 'auto', 
		allowClear: true

You can download metronic fom here <a class="postlink" href=""> ...</a>

I hope this helps .

You can put your file in Core project since it is a domain service. You can also add an unique index on Name field of your entity.

It's in Abp.Web.Models namespace. You must have ABP version or higher.

There are 2 ways actually.

If you include script using Html.IncludeScript like


it is going to add a parameter to the end of script file resulting like

<script src="/Abp/Framework/scripts/libs/abp.signalr.js?v=635911474900548694" type="text/javascript"></script>

Second way is to add this parameter manually if you dont want to use Html.IncludeScript syntax. In this way you can change your script include like this:

<script src="~/AbpScripts/GetScripts?v=@(Clock.Now.Ticks)" type="text/javascript"></script>

I hope this helps.


Zero is not defined from beginning for http verbs other than POST. Because of that DynamicApiControllerBuilder is not using convetional verbs right now.

You can add ".WithConventionalVerbs()" to dynamic api controller builder configuration of your project but it might cause problems.

We can not guarantee that it works.


You can check this topic #448@6bab272b-0a26-41ea-b1f4-6c3381bffea0.

As a short answer, after adding nuget package you need to enable cors in WebModule class like


Also you need to use EnableCors attribute in app service interface for dynamic api methods not in app service itself.


  1. Can you try writing your comments on AppService interface, not in the AppService class.
  2. You can use Swagger's DocumentFilter for that. An example would be,
public class FilterRoutesDocumentFilter : IDocumentFilter
    public void Apply(SwaggerDocument swaggerDoc, SchemaRegistry schemaRegistry, IApiExplorer apiExplorer)
        swaggerDoc.paths["/api/services/app/role/GetRoleForEdit"].post = null;

I hope these help.



You need to download Targeting Pack for development. Can you try to download .Net Framework Targeting Pack 4.6.1 and try opening project again ?


It's bootstrap select by Silvio Moreto. You can check it's github repository <a class="postlink" href=""></a>.


This is not angular version actually. But you can use it in Angular by angular ui's uiJq directive. Take a look at here <a class="postlink" href=""> ... ectives/jq</a>.

In our code


does the trick.

Or for a full angular compatible solution you can use angular ui's ui-select. You can find detailed information about ui-select here <a class="postlink" href=""></a>.

I hope these can help you :)

Showing 1 to 10 of 12666 entries